Skip to content

Commit c035479

Browse files
authored
add arm test with gh arm runners (#222)
1 parent c37b5ed commit c035479

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

.github/workflows/ci.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,26 @@ jobs:
2525
- name: build and test
2626
run: |
2727
python3 ci/test-all-configs.py --${{matrix.compiler}} --default-config
28+
test-linux-arm:
29+
runs-on: ubuntu-22.04-arm
30+
strategy:
31+
fail-fast: false
32+
matrix:
33+
compiler: [gcc, clang]
34+
shared: [--shared, ""]
35+
steps:
36+
- uses: actions/checkout@v4
37+
- name: dependencies
38+
run: |
39+
sudo apt install gcc-10 g++-10 libgcc-10-dev libunwind8-dev
40+
pip3 install colorama
41+
- name: libdwarf
42+
run: |
43+
cd ..
44+
cpptrace/ci/setup-prerequisites.sh
45+
- name: build and test
46+
run: |
47+
python3 ci/test-all-configs.py --${{matrix.compiler}} --default-config
2848
test-macos:
2949
runs-on: macos-14
3050
strategy:
@@ -562,6 +582,32 @@ jobs:
562582
- name: test opt
563583
run: |
564584
bazel test //... -c opt
585+
unittest-linux-arm:
586+
runs-on: ubuntu-24.04-arm
587+
strategy:
588+
fail-fast: false
589+
matrix:
590+
compiler: [g++-10, clang++-18]
591+
stdlib: [libstdc++, libc++]
592+
dwarf_version: [4, 5]
593+
split_dwarf: [OFF, ON]
594+
exclude:
595+
- compiler: g++-10
596+
stdlib: libc++
597+
steps:
598+
- uses: actions/checkout@v4
599+
- name: dependencies
600+
run: |
601+
sudo apt install gcc-10 g++-10 libgcc-10-dev ninja-build libc++-dev
602+
cd ..
603+
cpptrace/ci/setup-prerequisites-unittest.sh
604+
- name: build and test
605+
run: |
606+
python3 ci/unittest.py \
607+
--slice=compiler:${{matrix.compiler}} \
608+
--slice=stdlib:${{matrix.stdlib}} \
609+
--slice=dwarf_version:${{matrix.dwarf_version}} \
610+
--slice=split_dwarf:${{matrix.split_dwarf}}
565611
unittest-macos:
566612
runs-on: macos-14
567613
steps:

0 commit comments

Comments
 (0)