Skip to content

Commit b4e7407

Browse files
committed
Install mingw-w64 for Windows cross-compilation
1 parent 3e90151 commit b4e7407

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ jobs:
3535
sudo apt-get update
3636
sudo apt-get install -y libasound2-dev libdbus-1-dev pkg-config
3737
38+
- name: Install cross-compilation tools (Windows)
39+
if: matrix.target == 'x86_64-pc-windows-gnu'
40+
run: |
41+
sudo apt-get update
42+
sudo apt-get install -y gcc-mingw-w64 g++-mingw-w64-x86-64
43+
3844
- name: Install Rust toolchain
3945
uses: dtolnay/rust-toolchain@stable
4046
with:

0 commit comments

Comments
 (0)