88
99jobs :
1010 build :
11+ if : " ! contains(toJSON(github.event.commits.*.message), '[ci skip]')"
12+
13+ name : Build and Test (linux) - ${{ matrix.os }}-${{ matrix.arch }}
14+ runs-on : ${{ matrix.os }}
15+
1116 strategy :
1217 matrix :
13- os : [ubuntu-latest]
14- runs-on : ${{ matrix.os }}
15- if : " ! contains(toJSON(github.event.commits.*.message), '[ci skip]')"
18+ include :
19+ - os : ubuntu-latest
20+ arch : x64
21+ - os : ubuntu-24.04-arm
22+ arch : aarch64
23+
24+
1625 steps :
1726 - uses : actions/checkout@v1
1827 with :
2534 run : cd test && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug -DPOLYSCOPE_BACKEND_OPENGL3_GLFW=ON -DPOLYSCOPE_BACKEND_OPENGL_MOCK=ON ..
2635
2736 - name : build
28- run : cd test/build && make
37+ run : cd test/build && cmake --build "." --parallel
2938
3039 - name : run test mock backend
3140 run : cd test/build && ./bin/polyscope-test --gtest_catch_exceptions=0 backend=openGL_mock
@@ -37,11 +46,19 @@ jobs:
3746 run : cd test/build && ASAN_OPTIONS=detect_leaks=0 ./bin/polyscope-test --gtest_catch_exceptions=0 backend=openGL3_egl
3847
3948 build_shared :
49+ if : " ! contains(toJSON(github.event.commits.*.message), '[ci skip]')"
50+
51+ name : Build Shared and Test (linux) - ${{ matrix.os }}-${{ matrix.arch }}
52+ runs-on : ${{ matrix.os }}
53+
4054 strategy :
4155 matrix :
42- os : [ubuntu-latest]
43- runs-on : ${{ matrix.os }}
44- if : " ! contains(toJSON(github.event.commits.*.message), '[ci skip]')"
56+ include :
57+ - os : ubuntu-latest
58+ arch : x64
59+ - os : ubuntu-24.04-arm
60+ arch : aarch64
61+
4562 steps :
4663 - uses : actions/checkout@v1
4764 with :
5471 run : cd test && mkdir build && cd build && cmake -DBUILD_SHARED_LIBS=TRUE -DCMAKE_BUILD_TYPE=Debug -DPOLYSCOPE_BACKEND_OPENGL3_GLFW=ON -DPOLYSCOPE_BACKEND_OPENGL_MOCK=ON -DPOLYSCOPE_BACKEND_OPENGL3_EGL=ON ..
5572
5673 - name : build
57- run : cd test/build && make
74+ run : cd test/build && cmake --build "." --parallel
5875
5976 - name : run test mock backend
6077 run : cd test/build && ./bin/polyscope-test --gtest_catch_exceptions=0 backend=openGL_mock
6380 # We get memory leaks inside of EGL that I can't track down. With ASAN, this means the exit code is always nonzero,
6481 # which is indistinguishable from tests failing. The ASAN_OPTIONS=detect_leaks=0 skips checking leaks for this test
6582 # as a workaround.
66- run : cd test/build && ASAN_OPTIONS=detect_leaks=0 ./bin/polyscope-test --gtest_catch_exceptions=0 backend=openGL3_egl
83+ # run: cd test/build && ASAN_OPTIONS=detect_leaks=0 ./bin/polyscope-test --gtest_catch_exceptions=0 backend=openGL3_egl
84+ run : cd test/build && ./bin/polyscope-test --gtest_catch_exceptions=0 backend=openGL3_egl
0 commit comments