Skip to content

Commit

Permalink
Add build-dummy workflow to test dummy build
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdalisue committed Jan 6, 2024
1 parent 339b29a commit bd23c40
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,31 @@ jobs:
- name: Test
run: |
cargo build --release --all-features
build-dummy:
strategy:
matrix:
target: [x86_64-unknown-freebsd]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Update local toolchain
run: |
rustup update
rustup target add ${{ metrix.target }}
- name: Toolchain info
run: |
rustc --version
cargo --version --verbose
- name: Test
run: |
cargo build --release --features dummy --target ${{ matrix.target }}

0 comments on commit bd23c40

Please sign in to comment.