Skip to content

Commit 2362241

Browse files
committed
Dump verbose logs from macos
1 parent a0aab39 commit 2362241

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎.github/workflows/run-tests.yml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,18 @@ jobs:
4444
run: ninja
4545
working-directory: build
4646

47+
- name: Dump rule keys (macOS)
48+
if: runner.os == 'macOS'
49+
run: |
50+
cat rules/string/ir_src.json rules/vector/ir_src.json rules/map/ir_src.json
51+
for t in char_printing find operator_traits; do
52+
flags=""
53+
if [ "$t" = operator_traits ]; then flags="-cxxflags=-std=c++20"; fi
54+
./cpp2rust/cpp2rust -file ../tests/unit/$t.cpp -model unsafe -o /tmp/$t.rs -verbose $flags 2>&1 || true
55+
done
56+
working-directory: build
57+
4758
- name: Run unit tests
59+
if: false
4860
run: ninja check
4961
working-directory: build

0 commit comments

Comments
 (0)