File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build Docker Images
2+
3+ on : push
4+
5+ jobs :
6+ docker-qbs :
7+ name : " Build and run tests on Docker"
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v2
11+
12+ - name : get googletest
13+ run : third_party/git_clone_googletest.sh
14+
15+ - name : run qbs build
16+ run : >-
17+ docker run --rm -v ${GITHUB_WORKSPACE}:/build -w /build
18+ arbmind/qbs-clang10:qbs_v1.16.0
19+ build -d /tmp/build -p autotest-runner
20+
21+ windows-qbs :
22+ name : " Build and run tests on Windows"
23+ runs-on : windows-2019
24+ steps :
25+ - run : choco install qbs
26+ - run : qbs setup-toolchains --detect
27+ - run : qbs config --list profiles
28+
29+ - uses : actions/checkout@v2
30+
31+ - name : get googletest
32+ run : third_party/git_clone_googletest.sh
33+ shell : bash
34+
35+ - run : qbs build profile:MSVC2019-x64 -d %TMP%\build -p autotest-runner
Original file line number Diff line number Diff line change @@ -3,23 +3,25 @@ language: cpp
33matrix :
44 include :
55 - os : linux
6+ dist : bionic
67 services :
78 - docker
89 before_script :
9- - thirdparty /git_clone_googletest.sh
10+ - third_party /git_clone_googletest.sh
1011 script :
11- - docker run -v${PWD}:/build
12- arbmind/qbs-clang7:1
13- build --file /build/BasiC++17.qbs --build-directory /tmp/build
14- -p autotest-runner
15-
16- - os : windows
17- install :
18- - choco install qbs
19- - qbs setup-toolchains --detect
20- before_script :
21- - thirdparty/git_clone_googletest.sh
22- script :
23- - qbs
24- build profile:MSVC2017-x64 --file BasiC++17.qbs --build-directory ${TMP}/build
25- -p autotest-runner
12+ - >-
13+ docker run -v ${TRAVIS_BUILD_DIR}:/build -w /build arbmind/qbs-clang10:qbs_v1.16.0
14+ build
15+ -d /tmp/build
16+ -p autotest-runner
17+ # - os: windows
18+ # install:
19+ # - choco install qbs
20+ # - qbs setup-toolchains --detect
21+ # before_script:
22+ # - third_party/git_clone_googletest.sh
23+ # script:
24+ # - >-
25+ # qbs build profile:MSVC2019-x64
26+ # --file co-cpp19.qbs --build-directory ${TMP}/build
27+ # -p autotest-runner
Original file line number Diff line number Diff line change 11jobs :
22 - job : Linux
33 pool :
4- vmImage : ubuntu-16 .04
4+ vmImage : ubuntu-20 .04
55 steps :
66 - checkout : self
77 submodules : true
8+ - task : ShellScript@2
9+ inputs :
10+ scriptPath : third_party/git_clone_googletest.sh
811 - script : docker run -v${PWD}:/build
9- arbmind/qbs-clang10:1
12+ arbmind/qbs-clang10
1013 build --file /build/co-cpp19.qbs --build-directory /tmp/build
1114 -p autotest-runner
1215
2023 - script : qbs config --list profiles
2124 - checkout : self
2225 submodules : true
26+ - task : ShellScript@2
27+ inputs :
28+ scriptPath : third_party/git_clone_googletest.sh
2329 - script : qbs
2430 build profile:MSVC2019-x64 --file co-cpp19.qbs --build-directory %TMP%\build
2531 -p autotest-runner
You can’t perform that action at this time.
0 commit comments