Skip to content

build(deps): bump KSXGitHub/github-actions-deploy-aur #117

build(deps): bump KSXGitHub/github-actions-deploy-aur

build(deps): bump KSXGitHub/github-actions-deploy-aur #117

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
- 1.71.0 # MSRV
steps:
- uses: actions/checkout@v4
- 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/[email protected]
with:
key: ${{ matrix.target }}-${{ matrix.rust }}
- name: Cross compile and test
run: cross test --locked --target ${{ matrix.target }} --verbose