File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : archlinux
2+
3+ on :
4+ push :
5+ branches : [master]
6+ pull_request :
7+ branches : [master]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ container :
13+ image : archlinux:latest
14+ strategy :
15+ matrix :
16+ buildtype : [Debug, Release]
17+ steps :
18+ - uses : actions/checkout@v3
19+ - run : >
20+ pacman -Sy --noconfirm
21+ base-devel
22+ boost-libs boost
23+ qt5-base qt5-tools
24+ poppler-qt5
25+ cmake
26+ xorg-server-xvfb
27+ - run : >
28+ cmake -B build/
29+ -DCMAKE_VERBOSE_MAKEFILE=ON
30+ -DUsePrerenderedPDF=ON
31+ -DCodeCoverage=ON
32+ -DWarningAsError=ON
33+ -DCMAKE_BUILD_TYPE=${{matrix.buildtype}}
34+ .
35+ - run : cmake --build build/
36+ - name : run tests within xvfb
37+ working-directory : build/
38+ run : >
39+ xvfb-run -a -s '-screen 0 1920x1080x24 -screen 1 1920x1200x24'
40+ ctest --output-on-failure --timeout 60
41+ - name : upload coverage
42+ run : bash <(curl -s https://codecov.io/bash)
You can’t perform that action at this time.
0 commit comments