Skip to content

Commit 2af9185

Browse files
committed
2 parents 6fb9343 + d299673 commit 2af9185

File tree

163 files changed

+10374
-723
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+10374
-723
lines changed

.github/workflows/android.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ on:
1313
env:
1414
CCACHE_DIR: ${{ github.workspace }}/ccache_dir
1515
GITHUB_TOKEN: ${{ github.token }}
16-
xcodeVersion: "14.1" # Only affects Mac runners, and only for prerequisites.
16+
xcodeVersion: "16.2" # Only affects Mac runners, and only for prerequisites.
1717

1818
concurrency:
1919
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
2020
cancel-in-progress: true
2121

2222
jobs:
2323
prepare_matrix:
24-
runs-on: ubuntu-20.04
24+
runs-on: ubuntu-22.04
2525
outputs:
2626
matrix_os: ${{ steps.export-result.outputs.matrix_os }}
2727
matrix_architecture: ${{ steps.export-result.outputs.matrix_architecture }}
@@ -50,13 +50,30 @@ jobs:
5050
os: ${{ fromJson(needs.prepare_matrix.outputs.matrix_os) }}
5151
architecture: ${{ fromJson(needs.prepare_matrix.outputs.matrix_architecture) }}
5252
python_version: ${{ fromJson(needs.prepare_matrix.outputs.matrix_python_version) }}
53+
exclude:
54+
# Do not attempt to use arm64 on Windows or Linux.
55+
- os: windows-latest
56+
architecture: arm64
57+
- os: ubuntu-22.04
58+
architecture: arm64
59+
# Do not attempt to use x64 on Mac.
60+
- os: macos-14
61+
architecture: x64
5362
steps:
63+
- uses: lukka/get-cmake@latest
64+
with:
65+
cmakeVersion: "~3.31.0"
5466
- name: setup Xcode version (macos)
5567
if: runner.os == 'macOS'
5668
run: sudo xcode-select -s /Applications/Xcode_${{ env.xcodeVersion }}.app/Contents/Developer
5769
- name: Force Java 11
70+
if: runner.os != 'macOS'
5871
shell: bash
5972
run: echo "JAVA_HOME=${JAVA_HOME_11_X64}" >> $GITHUB_ENV
73+
- name: Force Java 11 (mac)
74+
if: runner.os == 'macOS'
75+
shell: bash
76+
run: echo "JAVA_HOME=${JAVA_HOME_11_arm64}" >> $GITHUB_ENV
6077
- name: Store git credentials for all git commands
6178
# Forces all git commands to use authenticated https, to prevent throttling.
6279
shell: bash

.github/workflows/build-report.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
schedule:
66
- cron: "0 21 * * *" # 9pm UTC = 1pm PST / 2pm PDT, 12 hours after testapps run
77

8+
permissions: write-all
9+
810
env:
911
GITHUB_TOKEN: ${{ github.token }}
1012
numDays: 7
@@ -17,7 +19,7 @@ jobs:
1719
fail-fast: false
1820
matrix:
1921
test_set: [ general, firestore ]
20-
runs-on: ubuntu-20.04
22+
runs-on: ubuntu-22.04
2123
name: generate-report-${{ matrix.test_set }}
2224
steps:
2325
- name: Pause 5 minutes to offset Firestore fetches.

.github/workflows/checks.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
pull_request:
55
types: [opened, reopened, synchronize, labeled, unlabeled]
66

7+
permissions: write-all
8+
79
env:
810
triggerLabelFull: "tests-requested: full"
911
triggerLabelQuick: "tests-requested: quick"
@@ -17,7 +19,7 @@ concurrency:
1719

1820
jobs:
1921
file_format_check:
20-
runs-on: ubuntu-20.04
22+
runs-on: ubuntu-22.04
2123
steps:
2224
- uses: actions/checkout@v3
2325
with:
@@ -40,7 +42,7 @@ jobs:
4042

4143
check_integration_test_labels:
4244
# This check fails if integration tests are queued, in progress, or failed.
43-
runs-on: ubuntu-20.04
45+
runs-on: ubuntu-22.04
4446
steps:
4547
- uses: docker://agilepathway/pull-request-label-checker:latest
4648
with:
@@ -49,8 +51,11 @@ jobs:
4951

5052
generated_docs_check:
5153
# This check succeeds if Doxygen documentation generates without errors.
52-
runs-on: ubuntu-20.04
54+
runs-on: ubuntu-22.04
5355
steps:
56+
- uses: lukka/get-cmake@latest
57+
with:
58+
cmakeVersion: "~3.31.0"
5459
- uses: actions/checkout@v3
5560
with:
5661
submodules: false
@@ -88,7 +93,7 @@ jobs:
8893
8994
copyright_check:
9095
# Check for Google copyright in each file.
91-
runs-on: ubuntu-20.04
96+
runs-on: ubuntu-22.04
9297
steps:
9398
- uses: actions/checkout@v3
9499
with:
@@ -100,7 +105,7 @@ jobs:
100105
101106
release_notes_check:
102107
# Check that the readme was updated, unless the PR has a specific label set (env.skipReleaseNotesLabel).
103-
runs-on: ubuntu-20.04
108+
runs-on: ubuntu-22.04
104109
steps:
105110
- uses: actions/checkout@v3
106111
# Skip this if the PR has the skipReleaseNotes label or if it's a merge to other than main.

.github/workflows/checks_secure.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@ on:
55
pull_request_target:
66
types: [synchronize]
77

8+
permissions: write-all
9+
810
concurrency:
911
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
1012
cancel-in-progress: true
1113

1214
jobs:
1315
dismiss_stale_approvals:
1416
# Dismiss stale approvals for users without write access, or if this PR comes from a fork.
15-
runs-on: ubuntu-20.04
17+
runs-on: ubuntu-22.04
1618
# Only if another commit was added to the PR.
1719
steps:
1820
- name: Check user permission

.github/workflows/cpp-packaging.yml

Lines changed: 47 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,17 @@ env:
3232
demumbleVer: "df938e45c2b0e064fb5323d88b692d03b451d271"
3333
# Use SHA256 for hashing files.
3434
hashCommand: "sha256sum"
35-
# Xcode version 15.1 is the version we build the SDK with.
35+
# Xcode version 16.2 is the version we build the SDK with.
3636
# Our MacOS runners will use the version in /Applications/Xcode_${xcodeVersion}.app
37-
xcodeVersion: "15.1"
37+
xcodeVersion: "16.2"
3838
# LLVM version with ARM MachO support has no version number yet.
3939
llvmVer: "5f187f0afaad33013ba03454c4749d99b1362534"
4040
GITHUB_TOKEN: ${{ github.token }}
4141

4242
jobs:
4343
log_inputs:
4444
name: log-inputs
45-
runs-on: ubuntu-20.04
45+
runs-on: ubuntu-22.04
4646
steps:
4747
- name: log run inputs
4848
run: |
@@ -79,17 +79,20 @@ jobs:
7979
if: ${{ github.event.inputs.downloadPublicVersion == '' && github.event.inputs.downloadPreviousRun == '' }}
8080
strategy:
8181
matrix:
82-
os: [ubuntu-20.04, macos-13]
82+
os: [ubuntu-22.04, macos-14]
8383
include:
84-
- os: ubuntu-20.04
84+
- os: ubuntu-22.04
8585
tools_platform: linux
8686
# Binutils 2.35.1 released Sep 19, 2020
8787
binutils_version: "2.35.1"
88-
- os: macos-13
88+
- os: macos-14
8989
tools_platform: darwin
9090
# Binutils 2.35.1 released Sep 19, 2020
9191
binutils_version: "2.35.1"
9292
steps:
93+
- uses: lukka/get-cmake@latest
94+
with:
95+
cmakeVersion: "~3.31.0"
9396
- name: setup Xcode version (macos)
9497
if: runner.os == 'macOS'
9598
run: sudo xcode-select -s /Applications/Xcode_${{ env.xcodeVersion }}.app/Contents/Developer
@@ -185,9 +188,12 @@ jobs:
185188

186189
build_and_package_ios_tvos:
187190
name: build-and-package-ios-tvos
188-
runs-on: macos-13
191+
runs-on: macos-14
189192
if: ${{ github.event.inputs.downloadPublicVersion == '' && github.event.inputs.downloadPreviousRun == '' }}
190193
steps:
194+
- uses: lukka/get-cmake@latest
195+
with:
196+
cmakeVersion: "~3.31.0"
191197
- name: Store git credentials for all git commands
192198
# Forces all git commands to use authenticated https, to prevent throttling.
193199
shell: bash
@@ -243,11 +249,14 @@ jobs:
243249

244250
build_and_package_android:
245251
name: build-and-package-android
246-
runs-on: ubuntu-20.04
252+
runs-on: ubuntu-22.04
247253
if: ${{ github.event.inputs.downloadPublicVersion == '' && github.event.inputs.downloadPreviousRun == '' }}
248254
strategy:
249255
fail-fast: false
250256
steps:
257+
- uses: lukka/get-cmake@latest
258+
with:
259+
cmakeVersion: "~3.31.0"
251260
- name: Force Java 11
252261
shell: bash
253262
run: echo "JAVA_HOME=${JAVA_HOME_11_X64}" >> $GITHUB_ENV
@@ -308,7 +317,7 @@ jobs:
308317
strategy:
309318
fail-fast: false
310319
matrix:
311-
os: [windows-latest, ubuntu-20.04, macos-13]
320+
os: [windows-latest, ubuntu-22.04, macos-14]
312321
build_type: ["Release", "Debug"]
313322
architecture: ["x64", "x86", "arm64"]
314323
msvc_runtime: ["static", "dynamic"]
@@ -322,36 +331,39 @@ jobs:
322331
msvc_runtime: "dynamic"
323332
vcpkg_triplet_suffix: "windows-static-md"
324333
sdk_platform: "windows"
325-
- os: ubuntu-20.04
334+
- os: ubuntu-22.04
326335
vcpkg_triplet_suffix: "linux"
327336
additional_build_flags: ""
328337
sdk_platform: "linux"
329-
- os: macos-13
338+
- os: macos-14
330339
vcpkg_triplet_suffix: "osx"
331340
additional_build_flags: "--target_format libraries"
332341
sdk_platform: "darwin"
333342

334343
exclude:
335344
- os: windows-latest
336345
linux_abi: "c++11"
337-
- os: macos-13
346+
- os: macos-14
338347
architecture: "x86"
339-
- os: macos-13
348+
- os: macos-14
340349
msvc_runtime: "dynamic"
341-
- os: macos-13
350+
- os: macos-14
342351
linux_abi: "c++11"
343-
- os: macos-13
352+
- os: macos-14
344353
build_type: "Debug"
345-
- os: ubuntu-20.04
354+
- os: ubuntu-22.04
346355
msvc_runtime: "dynamic"
347-
- os: ubuntu-20.04
356+
- os: ubuntu-22.04
348357
build_type: "Debug"
349-
- os: ubuntu-20.04
358+
- os: ubuntu-22.04
350359
architecture: "arm64"
351360
- os: windows-latest
352361
architecture: "arm64"
353362

354363
steps:
364+
- uses: lukka/get-cmake@latest
365+
with:
366+
cmakeVersion: "~3.31.0"
355367
- name: Store git credentials for all git commands
356368
# Forces all git commands to use authenticated https, to prevent throttling.
357369
shell: bash
@@ -409,7 +421,6 @@ jobs:
409421
max_attempts: 3
410422
command: |
411423
python scripts/gha/install_prereqs_desktop.py --gha_build --arch '${{ matrix.architecture }}' --ssl boringssl
412-
413424
- name: Export verbose flag
414425
shell: bash
415426
run: |
@@ -465,40 +476,40 @@ jobs:
465476
matrix:
466477
sdk_platform: [linux, darwin, windows]
467478
suffix: ['']
468-
runs_on_platform: [ubuntu-20.04]
479+
runs_on_platform: [ubuntu-22.04]
469480
include:
470481
# Split windows packaging into multiple runners.
471482
- sdk_platform: windows
472483
suffix: '-x86-Release-static'
473-
runs_on_platform: ubuntu-20.04
484+
runs_on_platform: ubuntu-22.04
474485
- sdk_platform: windows
475486
suffix: '-x86-Release-dynamic'
476-
runs_on_platform: ubuntu-20.04
487+
runs_on_platform: ubuntu-22.04
477488
- sdk_platform: windows
478489
suffix: '-x64-Release-static'
479-
runs_on_platform: ubuntu-20.04
490+
runs_on_platform: ubuntu-22.04
480491
- sdk_platform: windows
481492
suffix: '-x64-Release-dynamic'
482-
runs_on_platform: ubuntu-20.04
493+
runs_on_platform: ubuntu-22.04
483494
- sdk_platform: windows
484495
suffix: '-x86-Debug-static'
485-
runs_on_platform: ubuntu-20.04
496+
runs_on_platform: ubuntu-22.04
486497
- sdk_platform: windows
487498
suffix: '-x86-Debug-dynamic'
488-
runs_on_platform: ubuntu-20.04
499+
runs_on_platform: ubuntu-22.04
489500
- sdk_platform: windows
490501
suffix: '-x64-Debug-static'
491-
runs_on_platform: ubuntu-20.04
502+
runs_on_platform: ubuntu-22.04
492503
- sdk_platform: windows
493504
suffix: '-x64-Debug-dynamic'
494-
runs_on_platform: ubuntu-20.04
505+
runs_on_platform: ubuntu-22.04
495506
- sdk_platform: darwin
496-
runs_on_platform: macos-13
507+
runs_on_platform: macos-14
497508
exclude:
498509
- sdk_platform: windows
499510
suffix: ''
500511
- sdk_platform: darwin
501-
runs_on_platform: ubuntu-20.04
512+
runs_on_platform: ubuntu-22.04
502513
steps:
503514
- name: setup Xcode version (macos)
504515
if: runner.os == 'macOS'
@@ -656,7 +667,7 @@ jobs:
656667

657668
download_sdk_package:
658669
name: download-sdk-package
659-
runs-on: ubuntu-20.04
670+
runs-on: ubuntu-22.04
660671
needs: [log_inputs]
661672
if: ${{ github.event.inputs.downloadPublicVersion != '' || github.event.inputs.downloadPreviousRun != '' }}
662673
steps:
@@ -706,7 +717,7 @@ jobs:
706717

707718
merge_packages:
708719
name: final-merge-packages
709-
runs-on: ubuntu-20.04
720+
runs-on: ubuntu-22.04
710721
if: ${{ github.event.inputs.downloadPublicVersion == '' && github.event.inputs.downloadPreviousRun == '' }}
711722
needs: [build_and_package_ios_tvos, build_and_package_android, package_desktop, log_inputs]
712723
steps:
@@ -767,7 +778,7 @@ jobs:
767778

768779
create_windows_only_package:
769780
name: create-windows-only-package
770-
runs-on: ubuntu-20.04
781+
runs-on: ubuntu-22.04
771782
needs: [merge_packages]
772783
steps:
773784
- name: download SDK zip
@@ -814,7 +825,7 @@ jobs:
814825
# Clean up intermediate artifacts from packaging step.
815826
# This can happen after the final package merge is finished.
816827
name: cleanup-packaging-artifacts
817-
runs-on: ubuntu-20.04
828+
runs-on: ubuntu-22.04
818829
needs: [merge_packages]
819830
if: |
820831
(
@@ -835,7 +846,7 @@ jobs:
835846
# Trigger the integration_tests workflow.
836847
needs: [merge_packages, download_sdk_package, create_windows_only_package, cleanup_packaging_artifacts]
837848
if: (github.event.inputs.skipIntegrationTests == 0 || github.event.inputs.skipIntegrationTests == '') && !cancelled() && !failure()
838-
runs-on: ubuntu-20.04
849+
runs-on: ubuntu-22.04
839850
steps:
840851
- name: Checkout repo
841852
uses: actions/checkout@v3
@@ -904,7 +915,7 @@ jobs:
904915
attempt_retry:
905916
name: "attempt-retry"
906917
needs: [trigger_integration_tests]
907-
runs-on: ubuntu-20.04
918+
runs-on: ubuntu-22.04
908919
if: ${{ failure() && !cancelled() && github.event_name == 'schedule' }}
909920
steps:
910921
- name: Checkout repo

0 commit comments

Comments
 (0)