77 branches : [ "main", "release/*" ]
88
99jobs :
10- gcc921 :
11- runs-on : [self-hosted, Linux, ARM64]
10+ arm-linux-build-and-test :
11+ runs-on : ubuntu-24.04-arm
1212
1313 container :
1414 image : ghcr.io/alibaba/photon-ut-base:latest
2323
2424 - uses : actions/checkout@v4
2525
26- - name : Build
26+ - name : Build-Debug-921-C++14
2727 run : |
2828 source /opt/rh/gcc-toolset-9/enable
2929 cmake -B build \
@@ -36,31 +36,42 @@ jobs:
3636 -D PHOTON_ENABLE_EXTFS=ON
3737 cmake --build build -j $(nproc) -- VERBOSE=1
3838
39- - name : Test
39+ - name : Build-Debug-921-C++17
4040 run : |
41- cd build
42- ctest -E test-lockfree --timeout 3600 -V
43-
44- gcc921-build-debug :
45- runs-on : [self-hosted, Linux, ARM64]
46-
47- container :
48- image : ghcr.io/alibaba/photon-ut-base:latest
49- options : --cpus 4
50-
51- steps :
52- - uses : szenius/set-timezone@v2.0
53- with :
54- timezoneLinux : " Asia/Shanghai"
55- timezoneMacos : " Asia/Shanghai"
56- timezoneWindows : " China Standard Time"
41+ source /opt/rh/gcc-toolset-9/enable
42+ rm -fr build
43+ cmake -B build \
44+ -D PHOTON_CXX_STANDARD=17 \
45+ -D CMAKE_BUILD_TYPE=Debug \
46+ -D PHOTON_ENABLE_ECOSYSTEM=ON \
47+ -D PHOTON_BUILD_TESTING=ON \
48+ -D PHOTON_ENABLE_SASL=ON \
49+ -D PHOTON_ENABLE_FUSE=ON \
50+ -D PHOTON_ENABLE_LIBCURL=ON \
51+ -D PHOTON_ENABLE_EXTFS=ON
52+ cmake --build build -j $(nproc) -- VERBOSE=1
5753
58- - uses : actions/checkout@v4
54+ - name : Build-Debug-1121-C++20
55+ run : |
56+ source /opt/rh/gcc-toolset-11/enable
57+ rm -fr build
58+ cmake -B build \
59+ -D PHOTON_CXX_STANDARD=20 \
60+ -D CMAKE_BUILD_TYPE=Debug \
61+ -D PHOTON_ENABLE_ECOSYSTEM=ON \
62+ -D PHOTON_BUILD_TESTING=ON \
63+ -D PHOTON_ENABLE_SASL=ON \
64+ -D PHOTON_ENABLE_FUSE=ON \
65+ -D PHOTON_ENABLE_LIBCURL=ON \
66+ -D PHOTON_ENABLE_EXTFS=ON
67+ cmake --build build -j $(nproc) -- VERBOSE=1
5968
60- - name : Build
69+ - name : Build-Debug-1211-C++23
6170 run : |
62- source /opt/rh/gcc-toolset-9/enable
71+ source /opt/rh/gcc-toolset-12/enable
72+ rm -fr build
6373 cmake -B build \
74+ -D PHOTON_CXX_STANDARD=23 \
6475 -D CMAKE_BUILD_TYPE=Debug \
6576 -D PHOTON_ENABLE_ECOSYSTEM=ON \
6677 -D PHOTON_BUILD_TESTING=ON \
6980 -D PHOTON_ENABLE_LIBCURL=ON \
7081 -D PHOTON_ENABLE_EXTFS=ON
7182 cmake --build build -j $(nproc) -- VERBOSE=1
83+
84+ - name : Test
85+ run : |
86+ cd build
87+ ctest -E test-lockfree --timeout 3600 -V
0 commit comments