Skip to content

Commit eb205ad

Browse files
committed
Verification change: Update ubuntu runners to use 22.04
- Use ubuntu-22.04 runners instead of latest - Leverage glibc-2.35 for release pkg - rename release workflow yaml to glibc2.35 - Add test changes to check release workflows
1 parent 1fd7b22 commit eb205ad

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- { os: macos, compiler: gcc }
3333
- { os: macos, compiler: cl }
3434
include:
35-
- { os: linux, runs-on: ubuntu-latest }
35+
- { os: linux, runs-on: ubuntu-22.04 }
3636
- { os: macos, runs-on: macos-latest }
3737
- { os: windows, runs-on: windows-latest }
3838
# Warnings are treated as errors by default.
@@ -111,6 +111,11 @@ jobs:
111111
sudo apt-get update
112112
sudo apt-get install -y libx11-dev
113113
fi
114+
- name: Setup Node.js
115+
if: matrix.os == 'linux'
116+
uses: actions/setup-node@v4
117+
with:
118+
node-version: '20.x'
114119
- name: Setup
115120
if: steps.filter.outputs.should-run == 'true'
116121
uses: ./.github/actions/common-setup

.github/workflows/release-linux-glibc-2-17.yml renamed to .github/workflows/release-linux-glibc-2-35.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ on:
22
push:
33
tags:
44
- "v*"
5-
5+
pull_request:
6+
branches:
7+
- "master"
68
name: centos7-gcc9 Release
79
jobs:
810
build:
9-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-22.04
1012
steps:
1113
- uses: actions/checkout@v4
1214
with:
@@ -21,7 +23,7 @@ jobs:
2123
options: -v ${{ github.workspace }}:/home/app -v /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt
2224
run: |
2325
export PATH=$PATH:/cmake-3.30.0-linux-x86_64/bin/
24-
26+
yum install -y lua
2527
source /opt/rh/devtoolset-9/enable
2628
2729
cd /home/app
@@ -40,7 +42,7 @@ jobs:
4042
else
4143
version=$triggering_ref
4244
fi
43-
base=$(pwd)/slang-${version}-linux-x86_64-glibc-2.17
45+
base=$(pwd)/slang-${version}-linux-x86_64-glibc-2.35
4446
4547
sudo mv "$(pwd)/build/dist-release/slang.zip" "${base}.zip"
4648
echo "SLANG_BINARY_ARCHIVE_ZIP=${base}.zip" >> "$GITHUB_OUTPUT"

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ on:
1414
- "README.md"
1515
tags:
1616
- "v*"
17+
workflow_dispatch:
1718

1819
jobs:
1920
release:
@@ -27,7 +28,7 @@ jobs:
2728
- {
2829
os: linux,
2930
platform: x86_64,
30-
runs-on: ubuntu-latest,
31+
runs-on: ubuntu-22.04,
3132
compiler: gcc,
3233
}
3334
- {

0 commit comments

Comments
 (0)