Skip to content

Commit

Permalink
ci: remove macos-latest build with nightly and beta
Browse files Browse the repository at this point in the history
  • Loading branch information
edouardparis committed Dec 15, 2021
1 parent ef9913c commit fd8ce77
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
- nightly
os:
- ubuntu-latest
- macOS-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- name: Install needed libraries
if: matrix.os == 'ubuntu-latest'
run: sudo apt install libudev-dev pkg-config libxkbcommon-dev libvulkan-dev
run: sudo apt install libudev-dev pkg-config libxkbcommon-dev libvulkan-dev
- name: Checkout source code
uses: actions/checkout@v2
- name: Install Rust ${{ matrix.toolchain }} toolchain
Expand All @@ -29,9 +29,11 @@ jobs:
override: true
profile: minimal
- name: Build on Rust ${{ matrix.toolchain }}
run: cargo build --verbose --color always
if: matrix.os != 'macos-latest' || matrix.toolchain != 'nightly' && matrix.toolchain != 'beta'
run: cargo build --release --verbose --color always
- name: Test on Rust ${{ matrix.toolchain }}
run: cargo test --verbose --color always
if: matrix.os != 'macos-latest' || matrix.toolchain != 'nightly' && matrix.toolchain != 'beta'
run: cargo test --release --verbose --color always

rustfmt_check:
runs-on: ubuntu-latest
Expand Down

0 comments on commit fd8ce77

Please sign in to comment.