Update readme.md #16
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: build_and_test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
windows: | |
runs-on: windows-2019 | |
timeout-minutes: 5 | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Windows VS2019 | |
run: | | |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && msbuild.exe Cpp/Windows/ToyPathTracer.sln /p:Configuration=Release /p:CL_MPCount=2 | |
shell: cmd | |
apple: | |
runs-on: macOS-latest | |
timeout-minutes: 5 | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v1 | |
- name: macOS Xcode 13 | |
run: | | |
echo "**** Building for macOS..." | |
xcodebuild -project Cpp/Apple/ToyPathTracer.xcodeproj -configuration Release -scheme 'ToyPathTracerMac' build | |
echo "**** Building for iOS..." | |
xcodebuild -project Cpp/Apple/ToyPathTracer.xcodeproj -configuration Release -scheme 'ToyPathTraceriOS' build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGN_ENTITLEMENTS="" CODE_SIGNING_ALLOWED="NO" |