From 8ddb9ac322791f1513cbd71950f5321b3d956715 Mon Sep 17 00:00:00 2001 From: wilsonwatson Date: Fri, 26 Jul 2024 02:11:15 -0500 Subject: [PATCH] dl mingw instead --- jitpack.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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