Skip to content

Commit c6de89e

Browse files
committed
ci.yml
1 parent b6b8e53 commit c6de89e

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ jobs:
2525
submodules: true
2626

2727
- name: Install deps
28-
run: |
28+
run:
2929
sudo apt-get update
3030
sudo apt-get install -y build-essential cmake ninja-build wget
3131

3232
- name: Configure CMake
33-
run: |
33+
run:
3434
mkdir -p build
3535
cd build
3636
cmake .. -DCMAKE_BUILD_TYPE=Release
3737

3838
- name: Build
39-
run: |
39+
run:
4040
cd build
4141
cmake --build . -- -j$(nproc)
4242

@@ -58,7 +58,7 @@ jobs:
5858
submodules: true
5959

6060
- name: Run CTest
61-
run: |
61+
run:
6262
if [ -d build ]; then
6363
cd build
6464
ctest --output-on-failure || (cat Testing/Temporary/LastTest.log || true; false)
@@ -75,16 +75,16 @@ jobs:
7575
uses: actions/checkout@v4
7676

7777
- name: Install static tools
78-
run: |
78+
run:
7979
sudo apt-get update
8080
sudo apt-get install -y clang-tidy cppcheck lua5.4
8181

8282
- name: Run cppcheck
83-
run: |
83+
run:
8484
cppcheck --enable=warning,performance,portability --error-exitcode=1 core/ modules/ || true
8585

8686
- name: Run clang-tidy (best-effort)
87-
run: |
87+
run:
8888
mkdir -p build && cd build
8989
cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=ON || true
9090
cd ..
@@ -95,7 +95,7 @@ jobs:
9595
fi
9696

9797
- name: Run custom policy check-security-md script
98-
run: |
98+
run:
9999
if [ -f scripts/check-security-md.sh ]; then
100100
bash scripts/check-security-md.sh
101101
else
@@ -105,13 +105,13 @@ jobs:
105105
integration-sim:
106106
name: integration-simulation
107107
runs-on: ubuntu-latest
108-
needs: [build, check-security-md]
108+
needs: [build,]
109109
steps:
110110
- name: Checkout
111111
uses: actions/checkout@v4
112112

113113
- name: Run integration simulator
114-
run: |
114+
run:
115115
if [ -f build/simulate_packet_input ]; then
116116
./build/simulate_packet_input --mode=integration --episodes=5
117117
elif [ -f build/runtime/ibcs_runtime ]; then
@@ -124,13 +124,13 @@ jobs:
124124
name: canary-simulation
125125
runs-on: ubuntu-latest
126126
if: github.event_name == 'workflow_dispatch' || startsWith(github.ref, 'refs/heads/feature/')
127-
needs: [build, check-security-md]
127+
needs: [build,]
128128
steps:
129129
- name: Checkout
130130
uses: actions/checkout@v4
131131

132132
- name: Run canary mode (optional)
133-
run: |
133+
run:
134134
if [ -f build/simulate_packet_input ]; then
135135
./build/simulate_packet_input --mode=canary --canary_pct=5 --episodes=3
136136
else

0 commit comments

Comments
 (0)