Skip to content

Commit 599ed24

Browse files
committed
test: diagnose P0 clang parity build
1 parent 75261b2 commit 599ed24

1 file changed

Lines changed: 21 additions & 21 deletions

File tree

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Agent P0 Full Model Patch
1+
name: Agent P0 Clang Diagnostic
22

33
on:
44
push:
@@ -11,28 +11,28 @@ permissions:
1111
contents: read
1212

1313
jobs:
14-
validate-p0:
15-
runs-on: ubuntu-24.04
14+
clang-parity:
15+
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v4
1818
with:
1919
ref: agent/iedsim-full-scl-live-store
20-
- name: Install Qt
21-
uses: jurplel/install-qt-action@v4
22-
with:
23-
version: '6.8.3'
24-
cache: true
25-
- name: Configure
26-
run: cmake -S apps/ied_simulator -B build-p0 -G Ninja -DCMAKE_BUILD_TYPE=Release
27-
- name: Build simulator and read probe
28-
run: cmake --build build-p0 --target arstack_ied_simulator ariec61850_mms_read_probe --parallel 2
29-
- name: QML smoke
20+
- name: Configure clang
21+
env:
22+
CC: clang
23+
CXX: clang++
24+
run: cmake -S tools/static_ied_server_iedsim -B build-iedscout-parity -DCMAKE_BUILD_TYPE=Release
25+
- name: Build with diagnostics
3026
env:
31-
QT_QPA_PLATFORM: offscreen
32-
run: ./build-p0/arstack_ied_simulator --smoke-test
33-
- name: P0 full structural model gate
34-
run: >-
35-
python3 apps/ied_simulator/test_gui_live_value.py
36-
--app ./build-p0/arstack_ied_simulator
37-
--read-probe ./build-p0
38-
--scl ./tests/fixtures/scl/iedsim-full-model.scd
27+
CC: clang
28+
CXX: clang++
29+
shell: bash
30+
run: |
31+
set -o pipefail
32+
cmake --build build-iedscout-parity --parallel 2 2>&1 | tee clang-build.log
33+
- name: Upload clang diagnostics
34+
if: always()
35+
uses: actions/upload-artifact@v4
36+
with:
37+
name: p0-clang-build-log
38+
path: clang-build.log

0 commit comments

Comments
 (0)