Skip to content

Commit 2c65020

Browse files
committed
Fix merge with ci changes
1 parent 56def2c commit 2c65020

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -183,25 +183,28 @@ jobs:
183183
cmake_clang_yaml_config:
184184
name: CMake clang 18 (maintainer mode, yaml config)
185185
runs-on: ubuntu-24.04
186+
env:
187+
CC: /usr/bin/clang-18
188+
CXX: /usr/bin/clang++-18
189+
CXX_STANDARD: '14'
186190
steps:
187-
- uses: actions/checkout@v4
191+
- name: Harden the runner (Audit all outbound calls)
192+
uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
193+
with:
194+
egress-policy: audit
195+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
188196
with:
189197
submodules: 'recursive'
190198
- name: setup
191-
env:
192-
CC: /usr/bin/clang-18
193-
CXX: /usr/bin/clang++-18
194-
PROTOBUF_VERSION: 21.12
195199
run: |
196-
sudo apt remove needrestart #refer: https://github.com/actions/runner-images/issues/9937
197-
sudo -E ./ci/setup_googletest.sh
198200
sudo -E ./ci/setup_ci_environment.sh
199-
sudo -E ./ci/install_protobuf.sh
201+
- name: install dependencies
202+
run: |
203+
sudo -E ./ci/install_thirdparty.sh --install-dir /usr/local --tags-file third_party_release
204+
- name: install ryml
205+
run: |
200206
sudo -E ./ci/install_ryml.sh
201207
- name: run cmake clang (maintainer mode, sync)
202-
env:
203-
CC: /usr/bin/clang-18
204-
CXX: /usr/bin/clang++-18
205208
run: |
206209
./ci/do_ci.sh cmake.maintainer.yaml.test
207210
- name: generate test cert

0 commit comments

Comments
 (0)