diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2021-10-20 11:26:52 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-20 11:26:52 -0400 |
| commit | edade2ed184c5a95743c95f0c67688cd8ba30e18 (patch) | |
| tree | 1af9334cfe110fbc9475b5276109a4c37b68ee91 /.github/workflows/release-windows.yml | |
| parent | deb638f446863ab38248a9568553a1eab47ca086 (diff) | |
Initial `slang-pack` integration (#1974)
* #include an absolute path didn't work - because paths were taken to always be relative.
* First integration of slang-pack.
* Use .os
* Add optional dependency support.
* Update github actions/scripts to update deps. aarch64 needs special handling.
* Upgrade to latest slang-pack for ignore-deps support.
* Fix linux build issues.
Diffstat (limited to '.github/workflows/release-windows.yml')
| -rw-r--r-- | .github/workflows/release-windows.yml | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/.github/workflows/release-windows.yml b/.github/workflows/release-windows.yml index 3b70947a0..8079b2519 100644 --- a/.github/workflows/release-windows.yml +++ b/.github/workflows/release-windows.yml @@ -21,13 +21,18 @@ jobs: fetch-depth: '0' - name: setup-msbuild uses: microsoft/setup-msbuild@v1 - - name: premake - run: - .\premake.bat vs2017 --enable-embed-stdlib=true + + # If we are building for aarch64 we want to build x64 first, so that all generated files are produced - name: msbuild (x64 tools) if: ${{ matrix.platform == 'aarch64' }} - run: + run: | + .\premake.bat vs2017 --arch=x64 --ignore-deps=slang-llvm MSBuild.exe slang.sln -v:m -m -property:Configuration=Release -property:Platform=x64 -property:WindowsTargetPlatformVersion=10.0.19041.0 + + # Do the premake for the actual target, downloading dependencies if necessary + - name: premake + run: + .\premake.bat vs2017 --enable-embed-stdlib=true --arch=${{matrix.platform}} --deps=true - name: msbuild run: MSBuild.exe slang.sln -v:m -m -property:Configuration=${{matrix.configuration}} -property:Platform=${{matrix.platform}} -property:WindowsTargetPlatformVersion=10.0.19041.0 |
