fix!: update dependencies #322
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
on: [ push, pull_request ] | |
name: CI (macos/linux) | |
jobs: | |
build_test_fmt_clippy: | |
name: Build & Test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest] | |
rust: | |
- stable | |
llvm_version: [12, 13] | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.rust }} | |
override: true | |
- name: Cache Rust environment | |
uses: Swatinem/rust-cache@v2 | |
- name: Install LLVM | |
uses: KyleMayes/install-llvm-action@v2 | |
with: | |
version: "${{ matrix.llvm_version }}.0" | |
- name: Install missing LLVM deps | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
sudo apt-key adv --keyserver hkps://keyserver.ubuntu.com --recv-key C99B11DEB97541F0 | |
sudo apt-get update && sudo apt-get install -y libtinfo6 | |
- name: Install cargo-make | |
uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: --debug cargo-make | |
- name: Run cargo build, test, fmt, clippy | |
env: | |
LLVM_FEATURE: llvm${{ matrix.llvm_version }}-0 | |
run: cargo make ci-flow |