Skip to content

Commit

Permalink
chore: test dockerhub with cross-only
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorfdl committed Jun 22, 2024
1 parent 0384707 commit 4e39f86
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,17 @@ jobs:
run: touch .env

- name: Install cross (Linux ARM64 only)
if: matrix.config.platform != 'x86_64-unknown-linux-gnu'
run: cargo install cross --git https://github.com/cross-rs/cross

- name: Build Binary
if: matrix.config.platform != 'x86_64-unknown-linux-gnu'
run: cross build --locked --release --target ${{ matrix.config.target }}

- name: Build Binary (Linux x86_64)
if: matrix.config.platform == 'x86_64-unknown-linux-gnu'
run: cargo build --locked --release --target ${{ matrix.config.target }}

# - name: Run Tests
# run: cross test --verbose --target ${{ matrix.config.target }}

Expand Down

0 comments on commit 4e39f86

Please sign in to comment.