# This is a basic workflow to help you get started with Actions name: Full GPU Tests (Windows) on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: [Windows, self-hosted] strategy: 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: 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 - name: test run: | $slangTestBinDir = ".\bin\windows-${{matrix.testPlatform}}\${{matrix.configuration}}\"; $env:Path += ";$slangTestBinDir"; & "$slangTestBinDir\slang-test.exe" -appveyor -bindir "$slangTestBinDir\" -platform ${{matrix.testPlatform}} -configuration ${{matrix.configuration}} -category ${{matrix.testCategory}} 2>&1;