Skip to content

Commit f3d3b57

Browse files
committed
Merge #271: ci: disable nightly build for macOS
fd8ce77 ci: remove macos-latest build with nightly and beta (edouard) Pull request description: rust-lang/rust#90342 ACKs for top commit: edouardparis: ACK fd8ce77 Tree-SHA512: 36d84bb2583aa104d24f9eb194793680eb39142a2422851762ad9fcebbe5d4e1bee450367af18db62f93d98a517479ec45eea4c7d81749557293aaf0d6642141
2 parents 420fb13 + fd8ce77 commit f3d3b57

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
- nightly
1414
os:
1515
- ubuntu-latest
16-
- macOS-latest
16+
- macos-latest
1717
- windows-latest
1818
runs-on: ${{ matrix.os }}
1919
steps:
2020
- name: Install needed libraries
2121
if: matrix.os == 'ubuntu-latest'
22-
run: sudo apt install libudev-dev pkg-config libxkbcommon-dev libvulkan-dev
22+
run: sudo apt install libudev-dev pkg-config libxkbcommon-dev libvulkan-dev
2323
- name: Checkout source code
2424
uses: actions/checkout@v2
2525
- name: Install Rust ${{ matrix.toolchain }} toolchain
@@ -29,9 +29,11 @@ jobs:
2929
override: true
3030
profile: minimal
3131
- name: Build on Rust ${{ matrix.toolchain }}
32-
run: cargo build --verbose --color always
32+
if: matrix.os != 'macos-latest' || matrix.toolchain != 'nightly' && matrix.toolchain != 'beta'
33+
run: cargo build --release --verbose --color always
3334
- name: Test on Rust ${{ matrix.toolchain }}
34-
run: cargo test --verbose --color always
35+
if: matrix.os != 'macos-latest' || matrix.toolchain != 'nightly' && matrix.toolchain != 'beta'
36+
run: cargo test --release --verbose --color always
3537

3638
rustfmt_check:
3739
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)