restore to clippy-driver, parallel #43
Workflow file for this run
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
name: Clippy Test (bors) | |
on: | |
push: | |
env: | |
RUST_BACKTRACE: 1 | |
CARGO_TARGET_DIR: '${{ github.workspace }}/target' | |
NO_FMT_TEST: 1 | |
CARGO_INCREMENTAL: 0 | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
base: | |
strategy: | |
matrix: | |
include: | |
- os: macos-latest | |
host: x86_64-apple-darwin | |
runs-on: ${{ matrix.os }} | |
# NOTE: If you modify this job, make sure you copy the changes to clippy.yml | |
steps: | |
# Setup | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install toolchain | |
run: | | |
rustup set default-host ${{ matrix.host }} | |
rustup show active-toolchain | |
# Run | |
- name: Link rustc dylib (MacOS) | |
if: runner.os == 'macOS' | |
run: | | |
SYSROOT=$(rustc --print sysroot) | |
sudo mkdir -p /usr/local/lib | |
sudo find "${SYSROOT}/lib" -maxdepth 1 -name '*dylib' -exec ln -s {} /usr/local/lib \; | |
- name: Test 1 | |
run: cargo test --test sigabrt | |
- name: Test 2 | |
run: cargo test --test sigabrt | |
- name: Test 3 | |
run: cargo test --test sigabrt | |
- name: Test 4 | |
run: cargo test --test sigabrt | |
- name: Test 5 | |
run: cargo test --test sigabrt | |
- name: Test 6 | |
run: cargo test --test sigabrt | |
- name: Test 7 | |
run: cargo test --test sigabrt | |
- name: Test 8 | |
run: cargo test --test sigabrt | |
- name: Test 9 | |
run: cargo test --test sigabrt |