Skip to content

Replace __target_intrinsics and __specialize_for_target, part 1 (#4050) #148

Replace __target_intrinsics and __specialize_for_target, part 1 (#4050)

Replace __target_intrinsics and __specialize_for_target, part 1 (#4050) #148

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Falcor Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: [Windows, self-hosted, falcor]
timeout-minutes: 100
continue-on-error: true
strategy:
fail-fast: false
matrix:
configuration: ['Release']
platform: ['x64']
include:
- platform: x64
testPlatform: x64
- platform: x64
testCategory: full
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
fetch-depth: '0'
- name: setup-msbuild
uses: microsoft/setup-msbuild@v1
- name: setup-falcor
run: |
mkdir FalcorBin
cd FalcorBin
Copy-Item -Path 'C:\Falcor\build\windows-vs2022\bin' -Destination '.\build\windows-vs2022\bin' -Recurse -Exclude ("*.pdb")
Copy-Item -Path 'C:\Falcor\tests' -Destination '.\' -Recurse
Copy-Item -Path 'C:\Falcor\tools' -Destination '.\' -Recurse
Copy-Item -Path 'C:\Falcor\media' -Destination '.\' -Recurse
Copy-Item -Path 'C:\Falcor\media_internal' -Destination '.\' -Recurse
Copy-Item -Path 'C:\Falcor\scripts' -Destination '.\' -Recurse
cd ..\
- name: build
run: |
.\premake.bat vs2019 --arch=${{matrix.platform}} --deps=true --no-progress=true --enable-cuda=true
.\make-slang-tag-version.bat
MSBuild.exe slang.sln -v:m -m -property:Configuration=${{matrix.configuration}} -property:Platform=${{matrix.platform}} -property:WindowsTargetPlatformVersion=10.0.19041.0 -maxcpucount:12
Copy-Item -Path '.\bin\windows-${{matrix.platform}}\${{matrix.configuration}}\*' -Destination '.\FalcorBin\build\windows-vs2022\bin\Release\' -Recurse -Exclude ("*.pdb")
- name: falcor-unit-test
run: |
$ErrorActionPreference = "SilentlyContinue"
cd .\FalcorBin\tests
python ./testing/run_unit_tests.py --config windows-vs2022-Release -t "-slow"
cd ../../
- name: falcor-image-test
run: |
$ErrorActionPreference = "SilentlyContinue"
cd .\FalcorBin\tests
python ./testing/run_image_tests.py --config windows-vs2022-Release --run-only
cd ../../