diff --git a/.github/workflows/build-tarball.yml b/.github/workflows/build-tarball.yml index 156373cce41992..8e0dee32b422e8 100644 --- a/.github/workflows/build-tarball.yml +++ b/.github/workflows/build-tarball.yml @@ -30,6 +30,8 @@ concurrency: env: PYTHON_VERSION: '3.12' FLAKY_TESTS: keep_retrying + CC: clang + CXX: clang++ permissions: contents: read @@ -37,7 +39,7 @@ permissions: jobs: build-tarball: if: github.event.pull_request.draft == false - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 with: @@ -63,7 +65,7 @@ jobs: path: tarballs test-tarball-linux: needs: build-tarball - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 with: diff --git a/.github/workflows/coverage-linux-without-intl.yml b/.github/workflows/coverage-linux-without-intl.yml index fcf2776f58166d..05815a5e29d416 100644 --- a/.github/workflows/coverage-linux-without-intl.yml +++ b/.github/workflows/coverage-linux-without-intl.yml @@ -32,6 +32,8 @@ concurrency: env: PYTHON_VERSION: '3.12' FLAKY_TESTS: keep_retrying + CC: clang + CXX: clang++ permissions: contents: read @@ -39,7 +41,7 @@ permissions: jobs: coverage-linux-without-intl: if: github.event.pull_request.draft == false - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 with: diff --git a/.github/workflows/coverage-linux.yml b/.github/workflows/coverage-linux.yml index 0c68c4d2048859..acf638be05f01c 100644 --- a/.github/workflows/coverage-linux.yml +++ b/.github/workflows/coverage-linux.yml @@ -32,6 +32,8 @@ concurrency: env: PYTHON_VERSION: '3.12' FLAKY_TESTS: keep_retrying + CC: clang + CXX: clang++ permissions: contents: read @@ -39,7 +41,7 @@ permissions: jobs: coverage-linux: if: github.event.pull_request.draft == false - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 with: diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index e6d1be16315f99..86c8c74abd8f8a 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -7,15 +7,15 @@ on: env: NODE_VERSION: lts/* + CC: clang + CXX: clang++ permissions: contents: read jobs: build-lto: - runs-on: ubuntu-latest - # not working on gcc-8 and gcc-9 see https://github.com/nodejs/node/issues/38570 - container: gcc:11 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 with: diff --git a/.github/workflows/test-internet.yml b/.github/workflows/test-internet.yml index 47f0774d04cc82..ba0568956b21a7 100644 --- a/.github/workflows/test-internet.yml +++ b/.github/workflows/test-internet.yml @@ -31,6 +31,8 @@ concurrency: env: PYTHON_VERSION: '3.12' FLAKY_TESTS: keep_retrying + CC: clang + CXX: clang++ permissions: contents: read @@ -38,7 +40,7 @@ permissions: jobs: test-internet: if: github.repository == 'nodejs/node' || github.event_name != 'schedule' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 with: diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml index 20dffc02b1d501..678e56a57eb3e5 100644 --- a/.github/workflows/test-linux.yml +++ b/.github/workflows/test-linux.yml @@ -25,6 +25,9 @@ concurrency: env: PYTHON_VERSION: '3.12' FLAKY_TESTS: keep_retrying + CC: sccache clang + CXX: sccache clang++ + SCCACHE_GHA_ENABLED: 'true' permissions: contents: read @@ -32,11 +35,7 @@ permissions: jobs: test-linux: if: github.event.pull_request.draft == false - runs-on: ubuntu-latest - env: - CC: sccache gcc - CXX: sccache g++ - SCCACHE_GHA_ENABLED: 'true' + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 with: