Skip to content

Commit

Permalink
.github/worflows: cover i686 build
Browse files Browse the repository at this point in the history
Signed-off-by: Ming Lei <[email protected]>
  • Loading branch information
ming1 committed Sep 23, 2024
1 parent 0b81e23 commit 3184f10
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,17 @@ jobs:
matrix:
toolchain:
- stable
- beta
- nightly
target:
- x86_64-unknown-linux-gnu
- i686-unknown-linux-gnu
steps:
- uses: actions/checkout@v3
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo build --features=fat_complete --verbose
- name: Install dependencies
if: matrix.target == 'i686-unknown-linux-gnu'
run: |
sudo apt-get update
sudo apt-get install -y gcc-multilib
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} && rustup target add ${{ matrix.target }}
- run: cargo build --verbose --target ${{ matrix.target }}
- run: cargo build --features=fat_complete --verbose --target ${{ matrix.target }}

0 comments on commit 3184f10

Please sign in to comment.