diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2024-10-30 10:15:14 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-29 19:15:14 -0700 |
| commit | 44dc5ea202ac43cd4f18c268e95143c2a23f5d26 (patch) | |
| tree | 7faeaf99ddda7f5ee223c994f730cac0e8822fe3 /.github/workflows/release.yml | |
| parent | 613a29affe272772dfe0c463d866fb0b8c1d42ee (diff) | |
Put debug symbols in releases (#5370)
Diffstat (limited to '.github/workflows/release.yml')
| -rw-r--r-- | .github/workflows/release.yml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6681837b9..0f2375f44 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: os: [linux, macos, windows] - config: [release] + config: [releaseWithDebugInfo] platform: [x86_64, aarch64] test-category: [smoke] include: @@ -57,7 +57,7 @@ jobs: run: | cmake --workflow --preset generators --fresh mkdir build-platform-generators - cmake --install build --config Release --component generators --prefix build-platform-generators + cmake --install build --config $cmake_config --component generators --prefix build-platform-generators - name: Change dev tools to host arch (windows) uses: ilammy/msvc-dev-cmd@v1 @@ -80,8 +80,8 @@ jobs: - name: Build Slang run: | - if [[ "${{ matrix.os }}" == "windows" && "${{ matrix.config }}" != "release" ]]; then - echo "Please see ci.yml for the steps to make debug builds work on Windows" >&2 + if [[ "${{ matrix.os }}" == "windows" && "${{ matrix.config }}" != "release" && "${{ matrix.config }}" != "releaseWithDebugInfo" ]]; then + echo "Please see ci.yml for the steps to make non-release builds work on Windows" >&2 exit 1 fi @@ -169,8 +169,8 @@ jobs: mkdir ./ttmp unzip "${base}.zip" -d ./ttmp - /bin/cp -rf build/Release/bin/* ./ttmp/bin/ - /bin/cp -rf build/Release/lib/* ./ttmp/lib/ + /bin/cp -rf build/$cmake_config/bin/* ./ttmp/bin/ + /bin/cp -rf build/$cmake_config/lib/* ./ttmp/lib/ rm ${base}.zip rm ${base}.tar.gz cd ./ttmp |
