diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2024-12-06 20:24:43 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-06 13:24:43 +0100 |
| commit | 27b7ac0e8ae02a41f748cccd76d617bb3b9d9734 (patch) | |
| tree | 87f1bfc28463e81e89f87dbdee1c1f4b7fa94e2a /.github/workflows | |
| parent | 8ce7c6f6958f9f5ed750ef1a823b9e9ed8c042d8 (diff) | |
Emit debug info for Release builds (#5783)
* Remove unnecessary warnings on windows
* Correctly set debug flags on gcc
* Emit debug info for Release builds
* Perform LTO for relwithdebinfo builds
* Release from release builds not relwithdebinfo
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/release-linux-glibc-2-17.yml | 12 | ||||
| -rw-r--r-- | .github/workflows/release.yml | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/release-linux-glibc-2-17.yml b/.github/workflows/release-linux-glibc-2-17.yml index 29f6c9bf5..4c9485d1e 100644 --- a/.github/workflows/release-linux-glibc-2-17.yml +++ b/.github/workflows/release-linux-glibc-2-17.yml @@ -27,9 +27,9 @@ jobs: cd /home/app git config --global --add safe.directory /home/app cmake --preset default --fresh -DSLANG_SLANG_LLVM_FLAVOR=DISABLE - cmake --build --preset releaseWithDebugInfo - cpack --preset releaseWithDebugInfo -G ZIP - cpack --preset releaseWithDebugInfo -G TGZ + cmake --build --preset release + cpack --preset release -G ZIP + cpack --preset release -G TGZ - name: Package Slang id: package @@ -38,15 +38,15 @@ jobs: version=${triggering_ref#v} base=$(pwd)/slang-${version}-linux-x86_64-glibc-2.17 - sudo mv "$(pwd)/build/dist-releaseWithDebugInfo/slang.zip" "${base}.zip" + sudo mv "$(pwd)/build/dist-release/slang.zip" "${base}.zip" echo "SLANG_BINARY_ARCHIVE_ZIP=${base}.zip" >> "$GITHUB_OUTPUT" - sudo mv "$(pwd)/build/dist-releaseWithDebugInfo/slang.tar.gz" "${base}.tar.gz" + sudo mv "$(pwd)/build/dist-release/slang.tar.gz" "${base}.tar.gz" echo "SLANG_BINARY_ARCHIVE_TAR=${base}.tar.gz" >> "$GITHUB_OUTPUT" - name: File check run: | - find "build/dist-releaseWithDebugInfo" -print0 ! -iname '*.md' ! -iname '*.h' -type f | xargs -0 file + find "build/dist-release" -print0 ! -iname '*.md' ! -iname '*.h' -type f | xargs -0 file - name: UploadBinary uses: softprops/action-gh-release@v1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1d435bed8..36e30bec0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: strategy: matrix: os: [linux, macos, windows] - config: [releaseWithDebugInfo] + config: [release] platform: [x86_64, aarch64] test-category: [smoke] include: |
