diff --git a/.github/workflows/test_cpp.yml b/.github/workflows/test_cpp.yml index 83a1c2fcb4..4d3ea0f66f 100644 --- a/.github/workflows/test_cpp.yml +++ b/.github/workflows/test_cpp.yml @@ -19,9 +19,9 @@ jobs: config: - { name: Optimized, flags: --config=opt } - { name: Debug, flags: --config=dbg } - - { name: ASAN, flags: --config=asan, runner: ubuntu-22-large } - - { name: MSAN, flags: --config=docker-msan, runner: ubuntu-22-large } - - { name: TSAN, flags: --config=tsan } + - { name: ASAN, flags: --config=asan, runner: ubuntu-20-4core } + - { name: MSAN, flags: --config=docker-msan, runner: ubuntu-20-4core } + - { name: TSAN, flags: --config=tsan, runner: ubuntu-20-4core } - { name: UBSAN, flags: --config=ubsan } - { name: No-RTTI, flags: --cxxopt=-fno-rtti } include: @@ -77,7 +77,7 @@ jobs: matrix: arch: [x86_64, aarch64] name: Linux Release ${{ matrix.arch}} - runs-on: ubuntu-latest + runs-on: ubuntu-20-4core steps: - name: Checkout pending changes uses: protocolbuffers/protobuf-ci/checkout@v2 diff --git a/.github/workflows/test_upb.yml b/.github/workflows/test_upb.yml index ebe59aa7e1..27f909a2ec 100644 --- a/.github/workflows/test_upb.yml +++ b/.github/workflows/test_upb.yml @@ -19,14 +19,13 @@ jobs: config: - { name: "Fastbuild" } - { name: "Optimized", flags: "-c opt" } - - { name: "FastTable", flags: "--//upb:fasttable_enabled=true" } - - { name: "ASAN", flags: "--config=asan -c dbg", exclude-targets: "-//benchmarks:benchmark -//python/..." } + - { name: "ASAN", flags: "--config=asan -c dbg", exclude-targets: "-//benchmarks:benchmark -//python/...", runner: ubuntu-20-4core } - { name: "UBSAN", flags: "--config=ubsan -c dbg", exclude-targets: "-//benchmarks:benchmark -//python/... -//lua/..." } - { name: "32-bit", flags: "--copt=-m32 --linkopt=-m32", exclude-targets: "-//benchmarks:benchmark -//python/..." } # TODO: b/297027295 - Add 32-bit ASAN test name: ${{ matrix.config.name }} - runs-on: ubuntu-latest + runs-on: ${{ matrix.config.runner || 'ubuntu-latest' }} steps: - name: Checkout pending changes @@ -172,11 +171,11 @@ jobs: - { os: ubuntu-latest, python-version: "3.8", architecture: x64, type: 'binary' } - { os: macos-11, python-version: "3.8", architecture: x64, type: 'binary' } - { os: ubuntu-latest, python-version: "3.11", architecture: x64, type: 'binary' } - - { os: macos-12, python-version: "3.11", architecture: x64, type: 'binary' } + - { os: macos-11, python-version: "3.11", architecture: x64, type: 'binary' } - { os: ubuntu-latest, python-version: "3.8", architecture: x64, type: 'source' } - { os: macos-11, python-version: "3.8", architecture: x64, type: 'source' } - { os: ubuntu-latest, python-version: "3.11", architecture: x64, type: 'source' } - - { os: macos-12, python-version: "3.11", architecture: x64, type: 'source' } + - { os: macos-11, python-version: "3.11", architecture: x64, type: 'source' } # Windows uses the full API up until Python 3.10, so each of these # jobs tests a distinct binary wheel.