Skip to content

Commit

Permalink
dl mingw instead
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonwatson committed Jul 26, 2024
1 parent 19adf3d commit 8ddb9ac
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions jitpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ jdk:
before_install:
- sdk install java 17.0.1-open
- sdk use java 17.0.1-open
- sudo apt-get update
- sudo apt-get install -y build-essential curl g++-mingw-w64-x86-64
- wget https://github.com/xpack-dev-tools/mingw-w64-gcc-xpack/releases/download/v13.3.0-1/xpack-mingw-w64-gcc-13.3.0-1-linux-x64.tar.gz
- tar xvf xpack-mingw-w64-gcc-13.3.0-1-linux-x64.tar.gz
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y
- $HOME/.cargo/bin/rustup target add x86_64-pc-windows-gnu
- $HOME/.cargo/bin/rustup target add x86_64-pc-windows-gnu
env:
PATH: "$PATH;/home/jitpack/xpack-mingw-w64-gcc-13.3.0-1/bin"

0 comments on commit 8ddb9ac

Please sign in to comment.