diff options
Diffstat (limited to '.github/workflows/windows.yml')
| -rw-r--r-- | .github/workflows/windows.yml | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml deleted file mode 100644 index 04085aad2..000000000 --- a/.github/workflows/windows.yml +++ /dev/null @@ -1,76 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: Windows Build CI - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true -jobs: - build: - runs-on: windows-latest - strategy: - matrix: - configuration: ['Debug', 'Release'] - platform: ['Win32', 'x64'] - include: - - platform: Win32 - testPlatform: x86 - - platform: x64 - testPlatform: x64 - - testCategory: quick - - platform: x64 - testCategory: full - - configuration: Debug - testCategory: smoke - steps: - - uses: actions/checkout@v3 - with: - submodules: 'true' - fetch-depth: '0' - - uses: robinraju/release-downloader@v1.7 - with: - latest: true - repository: "shader-slang/swiftshader" - fileName: "vk_swiftshader_windows_${{matrix.testPlatform}}.zip" - - name: setup-msbuild - uses: microsoft/setup-msbuild@v1 - - name: build - run: | - .\premake.bat vs2019 --enable-embed-stdlib=true --arch=${{matrix.platform}} --deps=true --no-progress=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 -warnAsError - - uses: actions/upload-artifact@v3 - with: - name: slang-build-${{matrix.configuration}}-${{matrix.platform}}-${{matrix.compiler}} - path: | - slang.h - slang-com-helper.h - slang-com-ptr.h - slang-tag-version.h - slang-gfx.h - prelude/*.h - bin/**/*.dll - bin/**/*.exe - bin/**/*.so - bin/**/slangc - bin/**/slangd - docs/*.md - README.md - LICENSE - - name: test - run: | - $slangTestBinDir = ".\bin\windows-${{matrix.testPlatform}}\${{matrix.configuration}}\"; - $spirvToolsBinDir = ".\external\slang-binaries\spirv-tools\windows-${{matrix.testPlatform}}\bin\"; - $env:Path += ";$slangTestBinDir;$spirvToolsBinDir"; - $env:SLANG_RUN_SPIRV_VALIDATION='1'; - $env:SLANG_USE_SPV_SOURCE_LANGUAGE_UNKNOWN='1'; - Expand-Archive "vk_swiftshader_windows_${{matrix.testPlatform}}.zip" -DestinationPath $slangTestBinDir; - & "$slangTestBinDir\slang-test.exe" -api all-dx12 -appveyor -bindir "$slangTestBinDir\" -platform ${{matrix.testPlatform}} -configuration ${{matrix.configuration}} -category ${{matrix.testCategory}} -expected-failure-list tests/expected-failure-github.txt 2>&1; - |
