From f359df9202140ee575d0c2efd3bb10880edcc331 Mon Sep 17 00:00:00 2001 From: Simon Kallweit Date: Wed, 7 Feb 2024 02:02:47 +0100 Subject: deploy slang-glslang with macos releases (#3554) * deploy slang-glslang with macos releases * sign libslang-glslang.dylib and add it to dist package --------- Co-authored-by: Yong He --- .github/workflows/macos.yml | 1 + .github/workflows/release-macos.yml | 4 ++++ 2 files changed, 5 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 7651f14a9..c795a06bd 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -50,6 +50,7 @@ jobs: 7z a ${SLANG_BINARY_ARCHIVE} slang-gfx.h 7z a ${SLANG_BINARY_ARCHIVE} prelude/*.h 7z a ${SLANG_BINARY_ARCHIVE} bin/*/*/libslang.dylib + 7z a ${SLANG_BINARY_ARCHIVE} bin/*/*/libslang-glslang.dylib 7z a ${SLANG_BINARY_ARCHIVE} bin/*/*/libgfx.dylib 7z a ${SLANG_BINARY_ARCHIVE} bin/*/*/slangc 7z a ${SLANG_BINARY_ARCHIVE} bin/*/*/slangd diff --git a/.github/workflows/release-macos.yml b/.github/workflows/release-macos.yml index 7f6fbc1a0..bd3751e81 100644 --- a/.github/workflows/release-macos.yml +++ b/.github/workflows/release-macos.yml @@ -66,6 +66,7 @@ jobs: IDENTITY_ID: d6ada82a113e4204aaad914e1013e9548ffd30d0 run: | /usr/bin/codesign --force --options runtime -s ${IDENTITY_ID} ./bin/macosx-${{matrix.targetPlatform}}/release/libslang.dylib -v + /usr/bin/codesign --force --options runtime -s ${IDENTITY_ID} ./bin/macosx-${{matrix.targetPlatform}}/release/libslang-glslang.dylib -v /usr/bin/codesign --force --options runtime -s ${IDENTITY_ID} ./bin/macosx-${{matrix.targetPlatform}}/release/libgfx.dylib -v /usr/bin/codesign --force --options runtime -s ${IDENTITY_ID} ./bin/macosx-${{matrix.targetPlatform}}/release/slangd -v /usr/bin/codesign --force --options runtime -s ${IDENTITY_ID} ./bin/macosx-${{matrix.targetPlatform}}/release/slangc -v @@ -87,6 +88,7 @@ jobs: 7z a ${SLANG_BINARY_ARCHIVE} slang-gfx.h 7z a ${SLANG_BINARY_ARCHIVE} prelude/*.h 7z a ${SLANG_BINARY_ARCHIVE} bin/*/*/libslang.dylib + 7z a ${SLANG_BINARY_ARCHIVE} bin/*/*/libslang-glslang.dylib 7z a ${SLANG_BINARY_ARCHIVE} bin/*/*/libgfx.dylib 7z a ${SLANG_BINARY_ARCHIVE} bin/*/*/slangc 7z a ${SLANG_BINARY_ARCHIVE} bin/*/*/slangd @@ -106,10 +108,12 @@ jobs: AC_USERNAME: ${{secrets.APPLE_ID_USERNAME}} run: | cp ./bin/macosx-${{matrix.targetPlatform}}/release/libslang.dylib libslang.dylib + cp ./bin/macosx-${{matrix.targetPlatform}}/release/libslang-glslang.dylib libslang-glslang.dylib cp ./bin/macosx-${{matrix.targetPlatform}}/release/libslang.dylib libgfx.dylib cp ./bin/macosx-${{matrix.targetPlatform}}/release/slangd slangd cp ./bin/macosx-${{matrix.targetPlatform}}/release/slangc slangc 7z a slang-macos-dist.zip libslang.dylib + 7z a slang-macos-dist.zip libslang-glslang.dylib 7z a slang-macos-dist.zip libgfx.dylib 7z a slang-macos-dist.zip slangd 7z a slang-macos-dist.zip slangc -- cgit v1.2.3