Skip to content

churn: Upgrade dependencies #42

churn: Upgrade dependencies

churn: Upgrade dependencies #42

Workflow file for this run

name: Continuous integration
permissions:
contents: read
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
jobs:
test:
name: Test - ${{ matrix.target }} with rust ${{ matrix.rust }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target:
- i686-unknown-linux-gnu
- i686-unknown-linux-musl
- x86_64-unknown-linux-gnu
- x86_64-unknown-linux-musl
rust:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v3
- name: Install Rust
run: rustup install --profile minimal ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
- name: Install cross
uses: taiki-e/install-action@cross
- name: Cache builds
uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.target }}
- name: Cross compile and test
run: cross test --locked --target ${{ matrix.target }} --verbose