Skip to content

Commit

Permalink
Don't bother with msys2
Browse files Browse the repository at this point in the history
  • Loading branch information
vcfxb committed Jul 30, 2024
1 parent b884c5d commit 1e3d867
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions .github/workflows/cargo-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,38 +14,13 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-24.04, windows-latest, macos-latest]
shell: ["bash", "msys2 {0}"]
include:
- os: macos-latest
llvm-install-dir: /opt/homebrew/opt/llvm
exclude:
- os: windows-latest
shell: bash
- os: macos-latest
shell: 'msys2 {0}'
- os: ubuntu-24.04
shell: 'msys2 {0}'

runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.allow-failure || false }}

defaults:
run:
shell: ${{ matrix.shell }}

steps:
- name: Checkout
uses: actions/checkout@v4

# Use MSYS2 on windows
- uses: msys2/setup-msys2@v2
if: ${{ matrix.os == 'windows-latest' }}
with:
update: true
# Install the current stable rust
install: >-
mingw-w64-x86_64-rust

# Use stable Rust toolchain
- uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit 1e3d867

Please sign in to comment.