File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010
1111jobs :
1212 alpine-build :
13+ name : Alpine (${{ matrix.compiler }})
1314 runs-on : ubuntu-latest
1415 container : alpine:latest
15- timeout-minutes : 30
16+ timeout-minutes : 60
17+ strategy :
18+ matrix :
19+ compiler : [gcc, clang]
20+ include :
21+ - compiler : gcc
22+ cc : gcc
23+ cxx : g++
24+ packages : build-base
25+ ROBOT_MODEL : ' ur5e'
26+ URSIM_VERSION : ' 5.24.0'
27+ PROGRAM_FOLDER : ' tests/resources/dockerursim/programs/e-series'
28+ - compiler : clang
29+ cc : clang
30+ cxx : clang++
31+ ROBOT_MODEL : ' ur5e'
32+ packages : build-base clang
33+ URSIM_VERSION : ' 5.24.0'
34+ PROGRAM_FOLDER : ' tests/resources/dockerursim/programs/e-series'
1635
1736 steps :
1837 - name : install dependencies
19- run : apk add --no-cache build-base cmake linux-headers git
38+ run : apk add --no-cache ${{ matrix.packages }} cmake linux-headers git python3
39+ - name : start ursim
40+ run : |
41+ scripts/start_ursim.sh -m $ROBOT_MODEL -v $URSIM_VERSION -p $PROGRAM_FOLDER -d -f DISABLED
42+ env :
43+ DOCKER_RUN_OPTS : --network ursim_net
44+ ROBOT_MODEL : ${{matrix.env.ROBOT_MODEL}}
45+ URSIM_VERSION : ${{matrix.env.URSIM_VERSION}}
46+ PROGRAM_FOLDER : ${{matrix.env.PROGRAM_FOLDER}}
47+ - name : install-pips
48+ run : pip install pandas lxml
2049 - uses : actions/checkout@v6
2150 - name : configure
22- run : mkdir build && cd build && cmake .. -DBUILDING_TESTS=1 -DCMAKE_COMPILE_WARNING_AS_ERROR=ON
51+ run : >
52+ mkdir build && cd build &&
53+ cmake ..
54+ -DBUILDING_TESTS=1
55+ -DINTEGRATION_TESTS=1
56+ -DCMAKE_COMPILE_WARNING_AS_ERROR=OFF
57+ -DCMAKE_C_COMPILER=${{ matrix.cc }}
58+ -DCMAKE_CXX_COMPILER=${{ matrix.cxx }}
2359 - name : build
24- run : cmake --build build --config Debug
60+ run : cmake --build build --config Debug -- -j$(nproc)
2561 - name : test
2662 run : cd build && ctest --output-on-failure
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ include(FetchContent)
88FetchContent_Declare (
99 googletest
1010 GIT_REPOSITORY https://github.com/google/googletest.git
11- GIT_TAG v1.15.2
11+ GIT_TAG v1.17.0
1212)
1313# For Windows: Prevent overriding the parent project's compiler/linker settings
1414set (gtest_force_shared_crt ON CACHE BOOL "" FORCE )
You can’t perform that action at this time.
0 commit comments