summaryrefslogtreecommitdiff
path: root/.github/workflows/windows.yml
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2022-10-04 14:40:34 -0400
committerGitHub <noreply@github.com>2022-10-04 14:40:34 -0400
commit7c54489e1f4016852df84eece93ded672b1b468e (patch)
tree4307ad8bb1775c64909cfad5598487c6de59b695 /.github/workflows/windows.yml
parent5fb74dbab1a257e59632671843537002d2dd408e (diff)
Set slang-tag-version.h on windows builds (#2429)
* #include an absolute path didn't work - because paths were taken to always be relative. * Create the slang-tag-version.h file on windows. * Add non binary files to the artifact upload for windows. * Add headers/docs to linux artifact.
Diffstat (limited to '.github/workflows/windows.yml')
-rw-r--r--.github/workflows/windows.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index e201d4613..5bfe0be39 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -25,16 +25,26 @@ jobs:
- 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
- name: test
run: |
if ("${{matrix.configuration}}" -eq "Debug") {