Skip to content

Commit ce3f8a0

Browse files
committed
ci: fix PATH
1 parent 0c89d99 commit ce3f8a0

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/libloading.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ jobs:
4444
- i686-pc-windows-gnu
4545
include:
4646
- rust_target: x86_64-pc-windows-gnu
47-
mingw_path: C:/M/mingw64/bin
47+
mingw_path: C:\M\mingw64\bin
4848
package: mingw-w64-x86_64-gcc
4949
- rust_target: i686-pc-windows-gnu
50-
mingw_path: C:/M/mingw32/bin
50+
mingw_path: C:\M\mingw32\bin
5151
package: mingw-w64-i686-gcc
5252
steps:
5353
- uses: actions/checkout@v2
@@ -57,9 +57,10 @@ jobs:
5757
- uses: msys2/setup-msys2@v2
5858
with:
5959
install: ${{ matrix.package }}
60-
update: true
61-
location: C:/M
62-
- run: msys2 -c "cargo test --target ${{ matrix.rust_target }}"
60+
location: C:\M
61+
- run: |
62+
$env:PATH = "${{ matrix.mingw_path }};$env:PATH"
63+
cargo test --target ${{ matrix.rust_target }}
6364
env:
6465
TARGET: ${{ matrix.rust_target }}
6566

0 commit comments

Comments
 (0)