diff --git a/jitpack.yml b/jitpack.yml index e2a059a..be4d3a9 100644 --- a/jitpack.yml +++ b/jitpack.yml @@ -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 \ No newline at end of file + - $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" \ No newline at end of file