Merge pull request #575 from alemuntoni/master

Faster Windows compilation in Github Actions (uses jom instead of nmake)
This commit is contained in:
Alessandro Muntoni 2020-02-18 16:03:03 +01:00 committed by GitHub
commit db8251bb8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 2 deletions

View File

@ -99,6 +99,12 @@ jobs:
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Downlaod Jom
run: |
Invoke-WebRequest -Uri "http://download.qt.io/official_releases/jom/jom_1_1_3.zip" -OutFile "jom_1_1_3.zip"
New-Item -Name "jom" -ItemType "directory"
Expand-Archive -Path jom_1_1_3.zip -DestinationPath .\jom
echo "::add-path::$(Get-Location)\jom"
- name: Setup env variables
id: envs
run: |
@ -114,7 +120,7 @@ jobs:
run: |
cd src\
qmake
nmake
jom -j4 #Qt nmake for parallel build
- name: Deploy MeshLab
run: |
.\install\windows\windows_deploy.ps1

View File

@ -15,6 +15,12 @@ jobs:
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Downlaod Jom
run: |
Invoke-WebRequest -Uri "http://download.qt.io/official_releases/jom/jom_1_1_3.zip" -OutFile "jom_1_1_3.zip"
New-Item -Name "jom" -ItemType "directory"
Expand-Archive -Path jom_1_1_3.zip -DestinationPath .\jom
echo "::add-path::$(Get-Location)\jom"
- name: Setup env variables
id: envs
run: |
@ -30,7 +36,7 @@ jobs:
run: |
cd src\
qmake
nmake
jom -j4 #Qt nmake for parallel build
- name: Deploy MeshLab
run: |
.\install\windows\windows_deploy.ps1

1
.gitmodules vendored
View File

@ -1,3 +1,4 @@
[submodule "vcglib"]
path = vcglib
url = https://github.com/cnr-isti-vclab/vcglib
branch = devel