Added an option to shorten compile time in Visual Studio #8543
Workflow file for this run
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: Presubmit | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-desktop: | |
name: build-desktop | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-22.04] | |
steps: | |
- uses: actions/[email protected] | |
- name: Run build script | |
run: | | |
WORKFLOW_OS=`echo \`uname\` | sed "s/Darwin/mac/" | tr [:upper:] [:lower:]` | |
cd build/$WORKFLOW_OS && printf "y" | ./build.sh presubmit | |
- name: Test material parser | |
run: | | |
out/cmake-release/filament/test/test_material_parser | |
build-windows: | |
name: build-windows | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/[email protected] | |
- name: Run build script | |
run: | | |
build\windows\build-github.bat presubmit | |
shell: cmd | |
build-android: | |
name: build-android | |
runs-on: macos-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Run build script | |
run: | | |
cd build/android && printf "y" | ./build.sh presubmit | |
build-ios: | |
name: build-iOS | |
runs-on: macos-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Run build script | |
run: | | |
cd build/ios && printf "y" | ./build.sh presubmit | |
- name: Build iOS samples | |
run: | | |
cd build/ios && ./build-samples.sh presubmit | |
build-web: | |
name: build-web | |
runs-on: macos-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Run build script | |
run: | | |
cd build/web && printf "y" | ./build.sh presubmit |