mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 00:07:24 +00:00
update windows workflows to work properly with windows server 2022
This commit is contained in:
parent
cd64cb5f31
commit
89ebc7defa
7
.github/workflows/CreateRelease.yml
vendored
7
.github/workflows/CreateRelease.yml
vendored
@ -177,16 +177,17 @@ jobs:
|
||||
echo ::set-output name=artifact_suffix::""
|
||||
fi
|
||||
echo "VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC" >> $GITHUB_ENV
|
||||
- name: Expand PATH for wget
|
||||
- name: Install wget
|
||||
run: |
|
||||
echo "C:\msys64\usr\bin\" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
||||
$env:PATH = "C:\msys64\mingw64\bin;C:\msys64\usr\bin"
|
||||
pacman.exe -S --noconfirm --noprogressbar wget
|
||||
- name: Set Certificate
|
||||
run: |
|
||||
New-Item -ItemType directory -Path certificate
|
||||
Set-Content -Path certificate\certificate.txt -Value '${{ secrets.WIN_CERTIFICATE }}'
|
||||
certutil -decode certificate\certificate.txt certificate\certificate.pfx
|
||||
- name: Download external libraries
|
||||
shell: bash
|
||||
shell: C:\shells\msys2bash.cmd {0}
|
||||
run: |
|
||||
bash scripts/${{ runner.os }}/0_download_ext.sh
|
||||
- name: Configure and Build
|
||||
|
||||
7
.github/workflows/Windows.yml
vendored
7
.github/workflows/Windows.yml
vendored
@ -28,11 +28,12 @@ jobs:
|
||||
echo ::set-output name=artifact_suffix::""
|
||||
fi
|
||||
echo "VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC" >> $GITHUB_ENV
|
||||
- name: Expand PATH for wget
|
||||
- name: Install wget
|
||||
run: |
|
||||
echo "C:\msys64\usr\bin\" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
||||
$env:PATH = "C:\msys64\mingw64\bin;C:\msys64\usr\bin"
|
||||
pacman.exe -S --noconfirm --noprogressbar wget
|
||||
- name: Download external libraries
|
||||
shell: bash
|
||||
shell: C:\shells\msys2bash.cmd {0}
|
||||
run: |
|
||||
bash scripts/${{ runner.os }}/0_download_ext.sh
|
||||
- name: Configure and Build
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user