Fix continuous deployment

There should not be a '/' after $ENV{DESTDIR} in the cmake install script.

This change also:
- Uses lukka/get-cmake github action consistently across jobs
- Add the glslang binary to the continuous deployment archive
This commit is contained in:
Nathaniel Cesario 2023-08-03 16:44:28 -06:00 committed by kd-11
parent 270b1f34f7
commit 43a1334078
3 changed files with 9 additions and 1 deletions

View File

@ -48,6 +48,7 @@ jobs:
cmake_build_type: [Debug, Release]
steps:
- uses: actions/checkout@v3
- uses: lukka/get-cmake@latest
- uses: actions/setup-python@v4
with:
python-version: '3.7'
@ -90,6 +91,7 @@ jobs:
run: |
cd build/install
zip ${ARCHIVE} \
bin/glslang \
bin/glslangValidator \
include/glslang/* \
include/glslang/**/* \
@ -126,6 +128,7 @@ jobs:
cmake_build_type: [Debug, Release]
steps:
- uses: actions/checkout@v3
- uses: lukka/get-cmake@latest
- uses: actions/setup-python@v4
with:
python-version: '3.7'
@ -163,6 +166,7 @@ jobs:
run: |
cd build/install
zip ${ARCHIVE} \
bin/glslang \
bin/glslangValidator \
include/glslang/* \
include/glslang/**/* \
@ -197,6 +201,7 @@ jobs:
cmake_build_type: [Debug, Release]
steps:
- uses: actions/checkout@v3
- uses: lukka/get-cmake@latest
- uses: actions/setup-python@v4
with:
python-version: '3.7'
@ -231,6 +236,7 @@ jobs:
run: |
cd build/install
7z a ${{env.ARCHIVE}} `
bin/glslang.exe `
bin/glslangValidator.exe `
bin/spirv-remap.exe `
include/glslang/* `
@ -252,6 +258,7 @@ jobs:
run: |
cd build/install
7z a ${{env.ARCHIVE}} `
bin/glslang.exe `
bin/glslangValidator.exe `
bin/spirv-remap.exe `
include/glslang/* `

View File

@ -163,6 +163,7 @@ jobs:
cmake_build_type: [Debug, Release]
steps:
- uses: actions/checkout@v3
- uses: lukka/get-cmake@latest
- uses: actions/setup-python@v4
with:
python-version: '3.7'

View File

@ -122,7 +122,7 @@ if(ENABLE_GLSLANG_INSTALL)
# Create the same symlink at install time
install(CODE "execute_process( \
COMMAND ${CMAKE_COMMAND} -E ${link_method} $<TARGET_FILE_NAME:glslang-standalone> ${legacy_glslang_name} \
WORKING_DIRECTORY \$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR})")
WORKING_DIRECTORY \$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR})")
if(ENABLE_SPVREMAPPER)
install(TARGETS spirv-remap EXPORT glslang-targets)