1010 BUILD_TYPE : Release
1111
1212jobs :
13- build :
13+ build_and_test :
1414 runs-on : ubuntu-latest
1515
1616 steps :
@@ -26,66 +26,26 @@ jobs:
2626 pip3 install cmake==3.21.3
2727
2828 - name : Configure
29- run : cmake -S . -B build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }}
29+ run : cmake -S . -B build
3030
31- - name : Build
31+ - name : Build (core)
3232 working-directory : ${{ github.workspace }}/build
3333 run : cmake --build . -j$(nproc)
3434
35- test :
36- runs-on : ubuntu-latest
37- needs : build
38-
39- steps :
40- - uses : actions/checkout@v3
41-
42- - name : Install dependencies
43- run : |
44- sudo apt-get update
45- sudo apt-get install -y --no-install-recommends \
46- make gcc g++ git libboost-all-dev \
47- doxygen graphviz python3-pip libeigen3-dev
48- pip3 install --upgrade pip
49- pip3 install cmake==3.21.3
50-
51- - name : Configure (with tests)
52- run : cmake -S . -B build -DBUILD_TESTS=ON -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }}
53-
54- - name : Build tests
55- working-directory : ${{ github.workspace }}/build
56- run : cmake --build . --target build_tests -j$(nproc)
57-
5835 - name : Run tests
5936 working-directory : ${{ github.workspace }}/build
6037 run : ctest --output-on-failure --output-junit test_results.xml
6138 continue-on-error : true
62-
39+
6340 - name : Upload test results
6441 uses : actions/upload-artifact@v4
6542 with :
6643 name : test-results
6744 path : build/test_results.xml
6845
69- test_simple_greedy_small_dag :
70- runs-on : ubuntu-latest
71- needs : build
72-
73- steps :
74- - uses : actions/checkout@v3
75-
76- - name : Install dependencies
77- run : |
78- sudo apt-get update
79- sudo apt-get install -y --no-install-recommends \
80- make gcc g++ git libboost-all-dev libeigen3-dev python3-pip
81- pip3 install cmake==3.21.3
82-
83- - name : Configure
84- run : cmake -S . -B build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }}
85-
86- - name : Build executables
46+ - name : Build all executables
8747 working-directory : ${{ github.workspace }}/build
88- run : cmake --build . --target OneStopParallel OneStopParallel_Partition - j$(nproc)
48+ run : cmake --build . -j$(nproc)
8949
9050 - name : Run simple DAG test
9151 working-directory : ${{ github.workspace }}/build
0 commit comments