Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build.yml to ubuntu-24.04 #8319

Merged
merged 6 commits into from
May 29, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update build.yml to ubuntu-24.04
Apparently g++-13 was removed from the ubuntu-22.04 runners.

We also don't have enterprise runners at 24.04 yet, so just use the free ones for now until we get support for those. CI builds might take longer now.
  • Loading branch information
dbaileychess authored May 28, 2024
commit abbc880e82875ead7f71f566e7306019bd31154e
38 changes: 19 additions & 19 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
digests-gcc: ${{ steps.hash-gcc.outputs.hashes }}
digests-clang: ${{ steps.hash-clang.outputs.hashes }}
name: Build Linux
runs-on: ubuntu-22.04-64core
runs-on: ubuntu-24.04
strategy:
matrix:
cxx: [g++-13, clang++-15]
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:

build-linux-no-file-tests:
name: Build Linux with -DFLATBUFFERS_NO_FILE_TESTS
runs-on: ubuntu-22.04-64core
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: cmake
Expand All @@ -75,7 +75,7 @@ jobs:

build-linux-out-of-source:
name: Build Linux with out-of-source build location
runs-on: ubuntu-22.04-64core
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: make build directory
Expand All @@ -97,7 +97,7 @@ jobs:

build-linux-cpp-std:
name: Build Linux C++
runs-on: ubuntu-22.04-64core
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -302,7 +302,7 @@ jobs:

build-android:
name: Build Android (on Linux)
runs-on: ubuntu-22.04-64core
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: set up Java
Expand All @@ -321,7 +321,7 @@ jobs:

build-generator:
name: Check Generated Code
runs-on: ubuntu-22.04-64core
runs-on: ubuntu-24.04
strategy:
matrix:
cxx: [g++-13, clang++-15]
Expand Down Expand Up @@ -352,7 +352,7 @@ jobs:

build-benchmarks:
name: Build Benchmarks (on Linux)
runs-on: ubuntu-22.04-64core
runs-on: ubuntu-24.04
strategy:
matrix:
cxx: [g++-13]
Expand All @@ -370,7 +370,7 @@ jobs:

build-java:
name: Build Java
runs-on: ubuntu-22.04-64core
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: test
Expand Down Expand Up @@ -399,7 +399,7 @@ jobs:

build-kotlin-linux:
name: Build Kotlin Linux
runs-on: ubuntu-22.04-64core
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -422,7 +422,7 @@ jobs:

build-rust-linux:
name: Build Rust Linux
runs-on: ubuntu-22.04-64core
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: test
Expand All @@ -440,7 +440,7 @@ jobs:

build-python:
name: Build Python
runs-on: ubuntu-22.04-64core
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: flatc
Expand All @@ -452,7 +452,7 @@ jobs:

build-go:
name: Build Go
runs-on: ubuntu-22.04-64core
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: flatc
Expand All @@ -464,7 +464,7 @@ jobs:

build-php:
name: Build PHP
runs-on: ubuntu-22.04-64core
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: flatc
Expand All @@ -478,7 +478,7 @@ jobs:

build-swift:
name: Build Swift
runs-on: ubuntu-22.04-64core
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: test
Expand All @@ -489,7 +489,7 @@ jobs:

build-swift-wasm:
name: Build Swift Wasm
runs-on: ubuntu-22.04-64core
runs-on: ubuntu-24.04
container:
image: ghcr.io/swiftwasm/carton:0.15.3
steps:
Expand All @@ -502,7 +502,7 @@ jobs:

build-ts:
name: Build TS
runs-on: ubuntu-22.04-64core
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: flatc
Expand All @@ -520,7 +520,7 @@ jobs:

build-dart:
name: Build Dart
runs-on: ubuntu-22.04-64core
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
Expand All @@ -535,7 +535,7 @@ jobs:

build-nim:
name: Build Nim
runs-on: ubuntu-22.04-64core
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: flatc
Expand All @@ -554,7 +554,7 @@ jobs:
needs: [build-linux, build-windows, build-mac-intel, build-mac-universal]
outputs:
digests: ${{ steps.hash.outputs.digests }}
runs-on: ubuntu-22.04-64core
runs-on: ubuntu-24.04
steps:
- name: Merge results
id: hash
Expand Down
Loading