Update autobuild.yaml

This commit is contained in:
InfinityWei 2024-07-06 13:59:56 +08:00 committed by GitHub
parent d5998e7fce
commit 328c87204f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,6 +5,8 @@
# Because the build takes more than an hour, our GITHUB_TOKEN credentials may # Because the build takes more than an hour, our GITHUB_TOKEN credentials may
# expire. A token `secrets.RELEASE_TOKEN` must exist with public_repo scope. # expire. A token `secrets.RELEASE_TOKEN` must exist with public_repo scope.
name: Build release binaries name: Build release binaries
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
on: on:
# Run weekly on sunday at 21:37 UTC (arbitrary) # Run weekly on sunday at 21:37 UTC (arbitrary)
schedule: schedule:
@ -156,7 +158,7 @@ jobs:
"-DgRPC_MSVC_STATIC_RUNTIME=ON" "-DgRPC_MSVC_STATIC_RUNTIME=ON"
binary_extension: ".exe" binary_extension: ".exe"
- name: mac - name: mac
os: macos-latest os: macos-12
preinstall: brew install ninja zlib p7zip preinstall: brew install ninja zlib p7zip
cflags: -O3 -gline-tables-only -DNDEBUG cflags: -O3 -gline-tables-only -DNDEBUG
cmake: >- cmake: >-
@ -179,7 +181,7 @@ jobs:
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | apt-key add - && wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | apt-key add - &&
apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main' && apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main' &&
apt-get update && apt-get update &&
apt-get install -y git cmake apt-get install -y git cmake python3.8 python3.8-dev
cflags: -O3 -gline-tables-only -DNDEBUG -include $GITHUB_WORKSPACE/.github/workflows/lib_compat.h cflags: -O3 -gline-tables-only -DNDEBUG -include $GITHUB_WORKSPACE/.github/workflows/lib_compat.h
cmake: >- cmake: >-
"-DCMAKE_C_COMPILER=clang-9" "-DCMAKE_C_COMPILER=clang-9"