Nightly build #1132
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nightly build | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: 0 23 * * 1-5 | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
with: | |
submodules: 'recursive' | |
- name: View Apps\node_modules content | |
run: Get-ChildItem -Path .\Apps\node_modules -Recurse | |
- name: Make Solution | |
run: | | |
cmake -A x64 -B buildWin32_x64 -D BX_CONFIG_DEBUG=ON | |
- name: NPM download nightly | |
run: npm run getNightly | |
working-directory: ./Apps | |
- name: Add msbuild to PATH | |
uses: microsoft/[email protected] | |
- name: Build Win32 | |
run: msbuild buildWin32_x64/BabylonNative.sln -p:Configuration="RelWithDebInfo" -p:Platform=x64 | |
- name: Run Validation Tests | |
run: | | |
Playground.exe app:///Scripts/validation_native.js | |
shell: cmd | |
working-directory: buildWin32_x64/Apps/Playground/RelWithDebInfo | |
- name: Upload Errors images artifact | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: ErrorImages | |
path: | | |
buildWin32_x64/Apps/Playground/Errors | |
- name: Upload Result images artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ResultImages | |
path: | | |
buildWin32_x64/Apps/Playground/Results |