Skip to content

Commit

Permalink
Update build.yml (google#8163)
Browse files Browse the repository at this point in the history
* Update build.yml

Use our enterprise runners

* Make a default runs-on

* Update build.yml

Use the latest 64-core runners

* Update build.yml

Fix windows runner that don't have visual studios

* Update build.yml

use windows-2019 as the 2022 doesn't seem to have visual studios installed
  • Loading branch information
dbaileychess authored and Jochen Parmentier committed Oct 29, 2024
1 parent 94b1c39 commit 5f62404
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 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-latest
runs-on: ubuntu-22.04-64core
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-latest
runs-on: ubuntu-22.04-64core
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-latest
runs-on: ubuntu-22.04-64core
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-latest
runs-on: ubuntu-22.04-64core
strategy:
fail-fast: false
matrix:
Expand All @@ -124,7 +124,7 @@ jobs:
if: matrix.std >= 17
run: ./flattests_cpp17

build-windows-cpp-std:
build-cpp-std:
name: Build Windows C++
runs-on: windows-2019
strategy:
Expand Down Expand Up @@ -216,7 +216,7 @@ jobs:

build-dotnet-windows:
name: Build .NET Windows
runs-on: windows-2019
runs-on: windows-2022-64core
strategy:
matrix:
configuration: [
Expand Down Expand Up @@ -330,7 +330,7 @@ jobs:

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

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

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

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

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

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

build-rust-windows:
name: Build Rust Windows
runs-on: windows-2019
runs-on: windows-2022-64core
steps:
- uses: actions/checkout@v3
- name: test
Expand All @@ -468,7 +468,7 @@ jobs:

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

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

build-php:
name: Build PHP
runs-on: ubuntu-latest
runs-on: ubuntu-22.04-64core
steps:
- uses: actions/checkout@v3
- name: flatc
Expand All @@ -506,7 +506,7 @@ jobs:
build-swift:
name: Build Swift
runs-on: ubuntu-latest
runs-on: ubuntu-22.04-64core
steps:
- uses: actions/checkout@v3
- name: test
Expand All @@ -517,7 +517,7 @@ jobs:
build-swift-wasm:
name: Build Swift Wasm
runs-on: ubuntu-latest
runs-on: ubuntu-22.04-64core
container:
image: ghcr.io/swiftwasm/carton:0.15.3
steps:
Expand All @@ -530,7 +530,7 @@ jobs:

build-ts:
name: Build TS
runs-on: ubuntu-latest
runs-on: ubuntu-22.04-64core
steps:
- uses: actions/checkout@v3
- name: flatc
Expand All @@ -548,7 +548,7 @@ jobs:
build-dart:
name: Build Dart
runs-on: ubuntu-latest
runs-on: ubuntu-22.04-64core
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
Expand All @@ -563,7 +563,7 @@ jobs:

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

0 comments on commit 5f62404

Please sign in to comment.