Replace references of static externs to addr_of!. We need to do this … #144
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: CI (macOS) | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
build_and_test: | |
strategy: | |
fail-fast: false | |
matrix: | |
version: | |
- stable | |
- beta | |
- nightly | |
target: | |
- x86_64-apple-darwin | |
name: ${{ matrix.version }} - ${{ matrix.target }} | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install ${{ matrix.version }} | |
run: TOOLCHAIN=${{ matrix.version }} TARGET=${{ matrix.target }} sh ./ci/install-rust.sh | |
- name: Run tests | |
run: cargo test --all -- --nocapture | |
- name: Run libc tests | |
env: | |
TARGET: ${{ matrix.target }} | |
run: sh ./ci/run.sh ${{ matrix.target }} |