Skip to content

Commit 00340fd

Browse files
committed
Update build.yaml
1 parent 2a797c5 commit 00340fd

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/build.yaml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,29 +49,26 @@ jobs:
4949
with:
5050
toolchain: stable
5151
target: ${{ matrix.target }}
52-
default: true
5352
override: true
5453

55-
- name: Check rustc version
56-
run: |
57-
rustc --version --verbose
58-
rustup show
59-
6054
- name: Install MSYS2 and MinGW-w64
6155
uses: msys2/setup-msys2@v2
6256
with:
6357
update: true
64-
install: >-
65-
mingw-w64-i686-gcc
66-
mingw-w64-x86_64-gcc
58+
install: mingw-w64-i686-gcc mingw-w64-x86_64-gcc
6759

6860
- name: Add MinGW to PATH
6961
run: |
7062
echo "C:\msys64\mingw32\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
7163
echo "C:\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
7264
shell: pwsh
7365

66+
- name: Debug PATH
67+
run: |
68+
Get-ChildItem -Path "C:\msys64" -Recurse -Directory | Select-String "mingw"
69+
7470
- name: Build for ${{ matrix.target }}
71+
shell: msys2 {0}
7572
run: cargo build --release --target=${{ matrix.target }}
7673

7774
- name: Rename output DLL

0 commit comments

Comments
 (0)