Skip to content

Commit

Permalink
CI: Use absolute path to cargo on macos-13-large
Browse files Browse the repository at this point in the history
Also pins the macos version so we don't get silently switched to
aarch64 which is tested separately.
  • Loading branch information
thedataking committed Apr 23, 2024
1 parent b27620a commit 1c50f1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-test-x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ jobs:
name: meson-test-logs-${{ matrix.target }}-${{ matrix.build.name }}
path: |
${{ github.workspace }}/build/meson-logs/testlog-*.txt
test-on-macos-latest:
runs-on: macos-latest
test-on-macos-13:
runs-on: macos-13 # select an x86_64 image
steps:
- name: install prerequisites
env:
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: cargo build for x86_64-apple-darwin
run: |
cargo build --release
$HOME/.cargo/bin/cargo build --release
- name: meson test for x86_64-apple-darwin
run: |
.github/workflows/test.sh \
Expand Down

0 comments on commit 1c50f1b

Please sign in to comment.