Skip to content

Commit

Permalink
CI: try cross
Browse files Browse the repository at this point in the history
  • Loading branch information
ahihi committed Aug 2, 2024
1 parent e1de817 commit 2f07f2b
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,13 @@ jobs:
packages: libasound2-dev
version: 1.0

- name: setup rust toolchain
uses: dtolnay/rust-toolchain@v1
- name: Build binary
uses: houseabsolute/actions-rust-cross@v0
with:
toolchain: stable
targets: ${{ env.CARGO_BUILD_TARGET }}

- name: build
run: cargo build --verbose
command: build
target: ${{ matrix.platform.target }}
args: "--verbose"
strip: true

- name: upload artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 2f07f2b

Please sign in to comment.