1 parent ad5b3a1 commit 122c3e9Copy full SHA for 122c3e9
2 files changed
.github/workflows/topling-jni-release.yml
@@ -6,7 +6,11 @@ on:
6
7
jobs:
8
build-and-publish:
9
- runs-on: ubuntu-latest
+ # Keep the linker compatible with the GCC 13 LTO trial objects.
10
+ runs-on: ubuntu-24.04
11
+ env:
12
+ CC: gcc-13
13
+ CXX: g++-13
14
permissions:
15
contents: write
16
packages: write
.github/workflows/topling-jni.yml
@@ -30,9 +30,11 @@ on:
30
31
build:
32
# refer https://github.com/actions/runner-images to get the details
33
- runs-on: ubuntu-22.04
+ # Prebuilt trial objects use GCC 13 LTO bytecode.
34
35
env:
- GCC_VER: "11.3" # TODO: better get from the 'gcc --version'
36
37
38
GITHUB_TOKEN: ${{ github.token }}
39
40
contents: read
0 commit comments