@@ -64,13 +64,14 @@ jobs:
6464 run : echo "${HOME}/.local/bin" >> $GITHUB_PATH
6565 - name : Checkout
6666 uses : actions/checkout@v4
67- - name : Cache ccache
67+ - name : Cache ccache and conan
6868 uses : actions/cache@v4
6969 with :
7070 path : |
7171 ${{ github.workspace }}/.ccache
72- key : linux-${{ matrix.os.key }}-ccache-${{ github.sha }}
73- restore-keys : linux-${{ matrix.os.key }}-ccache-
72+ /github/home/.conan2
73+ key : linux-${{ matrix.os.key }}-cache-${{ github.sha }}
74+ restore-keys : linux-${{ matrix.os.key }}-cache-
7475 - name : Prepare
7576 run : |
7677 sh scripts/install_deps.sh
8182 - name : Unit Testing
8283 run : |
8384 make test
84- st-ubuntu :
85+ integration-test :
86+ name : Integration test
87+ runs-on : ubuntu-22.04
88+ timeout-minutes : 75
89+ env :
90+ CCACHE_DIR : ${{ github.workspace }}/.ccache
91+ CCACHE_COMPILERCHECK : content
92+ CCACHE_COMPRESS : 1
93+ CCACHE_COMPRESSLEVEL : 5
94+ CCACHE_MAXSIZE : 2G
95+ steps :
96+ - name : Env
97+ run : echo "${HOME}/.local/bin" >> $GITHUB_PATH
98+ - name : Checkout
99+ uses : actions/checkout@v4
100+ - name : Cache ccache and conan
101+ uses : actions/cache@v4
102+ with :
103+ path : |
104+ ${{ github.workspace }}/.ccache
105+ ~/.conan2
106+ key : ubuntu-2204-st-cache-${{ github.sha }}
107+ restore-keys : ubuntu-2204-st-cache-
108+ - name : Prepare
109+ run : |
110+ sh scripts/install_deps.sh
111+ - name : Integration Testing
112+ run : |
113+ make st
114+ coverage-ubuntu :
85115 name : Test all with coverage
86116 runs-on : ubuntu-${{ matrix.ubuntu }}
87117 timeout-minutes : 120
@@ -100,13 +130,14 @@ jobs:
100130 run : echo "${HOME}/.local/bin" >> $GITHUB_PATH
101131 - name : Checkout
102132 uses : actions/checkout@v4
103- - name : Cache ccache
133+ - name : Cache ccache and conan
104134 uses : actions/cache@v4
105135 with :
106136 path : |
107137 ${{ github.workspace }}/.ccache
108- key : ubuntu-${{ matrix.ubuntu }}-ccache-${{ github.sha }}
109- restore-keys : ubuntu-${{ matrix.ubuntu }}-ccache-
138+ ~/.conan2
139+ key : ubuntu-${{ matrix.ubuntu }}-cache-${{ github.sha }}
140+ restore-keys : ubuntu-${{ matrix.ubuntu }}-cache-
110141 - uses : actions/setup-python@v4
111142 with :
112143 python-version : ' 3.8'
0 commit comments