mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 11:26:11 +00:00
Merge pull request #575 from alemuntoni/master
Faster Windows compilation in Github Actions (uses jom instead of nmake)
This commit is contained in:
commit
db8251bb8d
8
.github/workflows/CompileAndRelease.yml
vendored
8
.github/workflows/CompileAndRelease.yml
vendored
@ -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
|
||||
|
||||
8
.github/workflows/CompileWindows.yml
vendored
8
.github/workflows/CompileWindows.yml
vendored
@ -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
1
.gitmodules
vendored
@ -1,3 +1,4 @@
|
||||
[submodule "vcglib"]
|
||||
path = vcglib
|
||||
url = https://github.com/cnr-isti-vclab/vcglib
|
||||
branch = devel
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user