Skip to content

Commit

Permalink
ci: mingw: use rust-mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
tesuji committed May 31, 2024
1 parent b97670f commit 3e9e2fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ jobs:
rustup toolchain install stable-${{ matrix.target }}
rustup default stable-${{ matrix.target }}
- name: Check out MinGW toolchain
# NOTE: The self-contained rust-mingw is enough for linking to Windows.
# Full MinGW toolchain is only needed when compiling C code.
#if: matrix.mingw_dir
if: false
run: |
set -x
curl -sSf -O "$MIRRORS_BASE/${{ matrix.archive }}"
Expand All @@ -48,7 +52,6 @@ jobs:
ls -l "/c/mingw/${{ matrix.mingw_dir }}/bin"
echo "C:\mingw\${{ matrix.mingw_dir }}\bin" >> $GITHUB_PATH
shell: bash
if: matrix.mingw_dir
- run: cargo fetch
- run: cargo build
- run: cargo build --features nightly
Expand Down

0 comments on commit 3e9e2fb

Please sign in to comment.