Skip to content

Implement cross compile to validate i686 in addition to x86_64 tests. #7

Implement cross compile to validate i686 in addition to x86_64 tests.

Implement cross compile to validate i686 in addition to x86_64 tests. #7

Workflow file for this run

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