using ninja instead of jom for windows build examples

This commit is contained in:
alemuntoni 2021-08-23 16:29:36 +02:00
parent aec8880e85
commit afd5c72a93
1 changed files with 2 additions and 8 deletions

View File

@ -9,12 +9,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Download Jom
run: |
Invoke-WebRequest -Uri "http://mirrors.ukfast.co.uk/sites/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 "$(Get-Location)\jom" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Setup env variables
id: envs
run: |
@ -27,5 +21,5 @@ jobs:
run: |
mkdir build
cd build
cmake -G "NMake Makefiles" -DVCG_BUILD_EXAMPLES=ON ..
jom -j4
cmake -GNinja -DVCG_BUILD_EXAMPLES=ON ..
ninja