refactor text
errors
#393
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
permissions: | |
contents: read | |
# runs on push to the main branch, and PRs | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
name: "test arches miri" | |
jobs: | |
# 1. | |
required: | |
name: "ubuntu / ${{ matrix.toolchain }}" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
toolchain: [stable] | |
# toolchain: [stable, beta] | |
steps: | |
- name: "checkout" | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: "Install ${{ matrix.toolchain }}" | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ matrix.toolchain }} | |
- name: "Install libraries via APT" | |
run: | | |
sudo apt update | |
sudo apt install -y libasound2-dev | |
- name: "cargo generate-lockfile" | |
if: hashFiles('Cargo.lock') == '' | |
run: cargo generate-lockfile | |
- name: "install rust-script" | |
run: cargo install rust-script; | |
# https://twitter.com/jonhoo/status/1571290371124260865 | |
- name: "./utils/check.rs --arches" | |
run: ./utils/check.rs --arches | |
- name: "./utils/check.rs --miri" | |
run: ./utils/check.rs --miri |