Implement cross compile to validate i686 in addition to x86_64 tests. #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and run checks | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- '**.rs' | |
- '**/Cargo.*' | |
pull_request: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust toolchain | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
rustflags: "" # overrides the -Dwarnings default | |
- name: Build | |
run: cargo build --verbose | |
- name: Check jaq-core without default features | |
working-directory: jaq-core | |
run: cargo check --no-default-features | |
- name: Check jaq-std without default features | |
working-directory: jaq-std | |
run: cargo check --no-default-features | |
- name: Check jaq-json without default features | |
working-directory: jaq-json | |
run: cargo check --no-default-features | |
- name: Clippy | |
run: cargo clippy -- -Dwarnings |