Skip to content

Commit 0a3314c

Browse files
authored
Update runner versions (#689)
1 parent 132b079 commit 0a3314c

File tree

6 files changed

+26
-20
lines changed

6 files changed

+26
-20
lines changed

.github/workflows/bazeltest.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,14 @@ on:
88

99
pull_request:
1010

11+
# Allow manual invocation, for testing.
12+
workflow_dispatch:
13+
1114
jobs:
1215
# Run tests with Bazel v5.3.0.
1316
test:
1417
name: Test with Bazel
15-
runs-on: ubuntu-22.04
18+
runs-on: ubuntu-24.04
1619
strategy:
1720
matrix:
1821
# Hardware optimizers.
@@ -45,7 +48,7 @@ jobs:
4548
4649
test-san:
4750
name: Sanitizer tests
48-
runs-on: ubuntu-22.04
51+
runs-on: ubuntu-24.04
4952
strategy:
5053
matrix:
5154
# Test sanitizers
@@ -76,7 +79,7 @@ jobs:
7679
7780
test-mem:
7881
name: Test with tcmalloc
79-
runs-on: ubuntu-20.04
82+
runs-on: ubuntu-24.04
8083

8184
steps:
8285
- uses: actions/checkout@v4

.github/workflows/cirq_compatibility.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ on:
44
schedule:
55
- cron: "0 0 * * *"
66

7+
# Allow manual invocation, for testing.
8+
workflow_dispatch:
9+
710
jobs:
811
consistency:
912
name: Nightly Compatibility
10-
runs-on: ubuntu-22.04
13+
runs-on: ubuntu-24.04
1114
steps:
1215
- uses: actions/checkout@v4
1316
- uses: actions/setup-python@v5

.github/workflows/dockertest.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
# Run tests for any PRs.
1010
pull_request:
1111

12+
# Allow manual invocation, for testing.
13+
workflow_dispatch:
14+
1215
jobs:
1316
# Run tests.
1417
# See also https://docs.docker.com/docker-hub/builds/automated-testing/

.github/workflows/python_format.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,13 @@ on:
1212
# Only check formatting when python files are changed.
1313
- '**/*.py'
1414

15+
# Allow manual invocation, for testing.
16+
workflow_dispatch:
17+
1518
jobs:
1619
format:
1720
name: Format check
18-
runs-on: ubuntu-latest
21+
runs-on: ubuntu-24.04
1922
steps:
2023
- uses: actions/checkout@v4
2124
with:

.github/workflows/release_wheels.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
release:
55
types: [published]
66

7+
# Allow manual invocation, for testing.
8+
workflow_dispatch:
9+
710
jobs:
811
build_wheels:
912
name: Build wheels on ${{ matrix.os }}
@@ -12,19 +15,13 @@ jobs:
1215
fail-fast: false
1316
matrix:
1417
include:
15-
- os: macos-12 # x86_64
16-
name: mac
17-
env:
18-
macosx_deployment_target: "12.0"
19-
cibw:
20-
build: "cp39* cp310* cp311* cp312*"
2118
- os: macos-13-large # Apple Silicon
2219
name: mac_arm64
2320
env:
2421
macosx_deployment_target: "13.0"
2522
cibw:
2623
build: "cp39* cp310* cp311* cp312*"
27-
- os: ubuntu-22.04
24+
- os: ubuntu-24.04
2825
name: manylinux2014
2926
cibw:
3027
arch: x86_64
@@ -76,7 +73,7 @@ jobs:
7673
release-wheels:
7774
name: Publish all wheels
7875
needs: [build_wheels]
79-
runs-on: ubuntu-latest
76+
runs-on: ubuntu-24.04
8077
steps:
8178
- name: Download build artifacts
8279
uses: actions/download-artifact@v4

.github/workflows/testing_wheels.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
# Build wheels for any PRs.
1010
pull_request:
1111

12+
# Allow manual invocation, for testing.
13+
workflow_dispatch:
14+
1215
jobs:
1316
build_wheels:
1417
name: Build wheels on ${{ matrix.os }}
@@ -17,19 +20,13 @@ jobs:
1720
fail-fast: false
1821
matrix:
1922
include:
20-
- os: macos-12 # x86_64
21-
name: mac
22-
env:
23-
macosx_deployment_target: "12.0"
24-
cibw:
25-
build: "cp39* cp310* cp311* cp312*"
2623
- os: macos-13-large # Apple Silicon
2724
name: mac_arm64
2825
env:
2926
macosx_deployment_target: "13.0"
3027
cibw:
3128
build: "cp39* cp310* cp311* cp312*"
32-
- os: ubuntu-22.04
29+
- os: ubuntu-24.04
3330
name: manylinux2014
3431
cibw:
3532
arch: x86_64

0 commit comments

Comments
 (0)