Switch from mingw64 to ucrt64
This commit is contained in:
10
.github/workflows/test-msys2.yaml
vendored
10
.github/workflows/test-msys2.yaml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Run tests on Windows
|
name: Run tests on Windows (MSYS2)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@ -14,12 +14,12 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
shell: C:\msys64\usr\bin\bash.exe --login '{0}'
|
shell: C:\msys64\usr\bin\bash.exe --login '{0}'
|
||||||
run: |
|
run: |
|
||||||
export PATH="/mingw64/bin:$PATH"
|
export PATH="/ucrt64/bin:$PATH"
|
||||||
pacman --noconfirm -S mingw-w64-x86_64-imagemagick mingw-w64-x86_64-pkg-config
|
pacman --noconfirm -S mingw-w64-ucrt-x86_64-imagemagick mingw-w64-ucrt-x86_64-pkg-config
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
cache-on-failure: true
|
cache-on-failure: true
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
$env:PATH = "C:\msys64\usr\bin;C:\msys64\mingw64\bin;$env:PATH"
|
$env:PATH = "C:\msys64\usr\bin;C:\msys64\ucrt64\bin;$env:PATH"
|
||||||
cargo test -- --skip background --skip negate_image
|
cargo test -- --skip test_set_background_color
|
||||||
|
|||||||
Reference in New Issue
Block a user