diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be5c5ee..995e32e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}