Skip to content

Commit 6ef035e

Browse files
committed
ci run (12)
1 parent 34b1235 commit 6ef035e

4 files changed

Lines changed: 61 additions & 18 deletions

File tree

.github/workflows/test_runner.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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

.travis.yml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,25 @@ language: cpp
33
matrix:
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

azure-pipelines.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
jobs:
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

@@ -20,6 +23,9 @@ jobs:
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

third_party/git_clone_googletest.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)