ci/win: use option 'pacboy' of setup-msys2 to install dependencies (#354)
This commit is contained in:
parent
0da31b6bbb
commit
278d46ccd7
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: 📜 Restore cache
|
- name: 📜 Restore cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
@ -33,7 +33,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo bash dist/get_deps_debian.sh
|
sudo bash dist/get_deps_debian.sh
|
||||||
|
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup-init.sh
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup-init.sh
|
||||||
sh rustup-init.sh -y --default-toolchain none
|
sh rustup-init.sh -y --default-toolchain none
|
||||||
rm rustup-init.sh
|
rm rustup-init.sh
|
||||||
@ -92,14 +92,26 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: 🟦 Install msys2
|
- name: 🟦 Install msys2
|
||||||
uses: msys2/setup-msys2@v2
|
uses: msys2/setup-msys2@v2
|
||||||
|
with:
|
||||||
|
msystem: mingw64
|
||||||
|
pacboy: >-
|
||||||
|
gcc:p
|
||||||
|
cmake:p
|
||||||
|
make:p
|
||||||
|
ccache:p
|
||||||
|
capstone:p
|
||||||
|
glfw:p
|
||||||
|
file:p
|
||||||
|
mbedtls:p
|
||||||
|
python:p
|
||||||
|
freetype:p
|
||||||
|
dlfcn:p
|
||||||
|
|
||||||
- name: ⬇️ Install dependencies
|
- name: ⬇️ Install dependencies
|
||||||
run: |
|
run: |
|
||||||
bash dist/get_deps_msys2.sh
|
|
||||||
|
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://win.rustup.rs > rustup-init.exe
|
curl --proto '=https' --tlsv1.2 -sSf https://win.rustup.rs > rustup-init.exe
|
||||||
./rustup-init.exe -y --default-host=x86_64-pc-windows-gnu --default-toolchain=none
|
./rustup-init.exe -y --default-host=x86_64-pc-windows-gnu --default-toolchain=none
|
||||||
rm rustup-init.exe
|
rm rustup-init.exe
|
||||||
|
Loading…
Reference in New Issue
Block a user