Skip to content

.github/worflows: cover i686 build #218

.github/worflows: cover i686 build

.github/worflows: cover i686 build #218

Workflow file for this run

name: Cargo Build
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Rust project - latest
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- nightly
target:
- x86_64-unknown-linux-gnu
- i686-unknown-linux-gnu
steps:
- uses: actions/checkout@v3
- 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 }}