summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-02-19 10:11:01 -0800
committerGitHub <noreply@github.com>2021-02-19 10:11:01 -0800
commit5f7dc28a6d139487bab4ce61a60f12b3c53b6265 (patch)
tree6a018f40e1c8aef26b08965cc93f545803318517 /.github
parent22fe1dfed3ee6e1d0d00f0cb08b6549f771ef5cf (diff)
Make gfx library visible to external user. (#1719)
* Make gfx library visible to external user. * Fixup
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release-linux.yml4
-rw-r--r--.github/workflows/release-windows.yml3
2 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/release-linux.yml b/.github/workflows/release-linux.yml
index d07100721..ec9dd54b1 100644
--- a/.github/workflows/release-linux.yml
+++ b/.github/workflows/release-linux.yml
@@ -34,9 +34,9 @@ jobs:
export SLANG_BINARY_ARCHIVE=slang-${SLANG_TAG}-${SLANG_OS_NAME}-${SLANG_ARCH_NAME}.zip
export SLANG_BINARY_ARCHIVE_TAR=slang-${SLANG_TAG}-${SLANG_OS_NAME}-${SLANG_ARCH_NAME}.tar.gz
echo "creating zip"
- zip -r ${SLANG_BINARY_ARCHIVE} bin/*/*/slangc bin/*/*/libslang.so bin/*/*/libslang-glslang.so docs/*.md README.md LICENSE slang.h slang-com-helper.h slang-com-ptr.h slang-tag-version.h prelude/*.h
+ zip -r ${SLANG_BINARY_ARCHIVE} bin/*/*/slangc bin/*/*/libslang.so bin/*/*/libslang-glslang.so bin/*/*/libgfx.so docs/*.md README.md LICENSE slang.h slang-com-helper.h slang-com-ptr.h slang-tag-version.h slang-gfx.h prelude/*.h
echo "creating tar"
- tar -czf ${SLANG_BINARY_ARCHIVE_TAR} bin/*/*/slangc bin/*/*/libslang.so bin/*/*/libslang-glslang.so docs/*.md README.md LICENSE slang.h slang-com-helper.h slang-com-ptr.h slang-tag-version.h prelude/*.h
+ tar -czf ${SLANG_BINARY_ARCHIVE_TAR} bin/*/*/slangc bin/*/*/libslang.so bin/*/*/libslang-glslang.so bin/*/*/libgfx.so docs/*.md README.md LICENSE slang.h slang-com-helper.h slang-com-ptr.h slang-tag-version.h slang-gfx.h prelude/*.h
echo "::set-output name=SLANG_BINARY_ARCHIVE::${SLANG_BINARY_ARCHIVE}"
echo "::set-output name=SLANG_BINARY_ARCHIVE_TAR::${SLANG_BINARY_ARCHIVE_TAR}"
- name: UploadBinary
diff --git a/.github/workflows/release-windows.yml b/.github/workflows/release-windows.yml
index ac0d90ee6..9d8ee94ca 100644
--- a/.github/workflows/release-windows.yml
+++ b/.github/workflows/release-windows.yml
@@ -50,10 +50,12 @@ jobs:
7z a "$binArchive" slang-com-helper.h
7z a "$binArchive" slang-com-ptr.h
7z a "$binArchive" slang-tag-version.h
+ 7z a "$srcArchive" slang-gfx.h
7z a "$binArchive" prelude\*.h
7z a "$binArchive" bin\*\*\slang.dll
7z a "$binArchive" bin\*\*\slang.lib
7z a "$binArchive" bin\*\*\slang-glslang.dll
+ 7z a "$binArchive" bin\*\*\gfx.dll
7z a "$binArchive" bin\*\*\slangc.exe
7z a "$binArchive" docs\*.md
@@ -64,6 +66,7 @@ jobs:
7z a "$srcArchive" slang-com-helper.h
7z a "$srcArchive" slang-com-ptr.h
7z a "$srcArchive" slang-tag-version.h
+ 7z a "$srcArchive" slang-gfx.h
7z a "$srcArchive" prelude\*.h
7z a "$srcArchive" source\*\*.h
7z a "$srcArchive" source\*\*.cpp