diff options
author | Tobias Markmann <tm@ayena.de> | 2017-06-25 13:37:43 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2017-06-26 09:27:35 (GMT) |
commit | dfe840d2d49ad609ad067460f496d2e1833aa5db (patch) | |
tree | 2b84826ee55208f4e1916fa84f975bd0c168cc3b /.circleci | |
parent | 38b577abe56c76805e2f2bebb5194bee28359145 (diff) | |
download | swift-dfe840d2d49ad609ad067460f496d2e1833aa5db.zip swift-dfe840d2d49ad609ad067460f496d2e1833aa5db.tar.bz2 |
Use separate jobs in CircleCI for coala, clang and gcc
Test-Information:
Ran successfully on CircleCI.
Change-Id: Ic66577788e440ca8d02fc6e1c617aa4b941f7e94
Diffstat (limited to '.circleci')
-rw-r--r-- | .circleci/config.yml | 41 |
1 files changed, 36 insertions, 5 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 81057c9..15e14f2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,9 +1,9 @@ version: 2 jobs: - build: - working_directory: ~/swift + build-gcc: docker: - image: tfar/swift-gcc:latest + working_directory: ~/swift steps: - checkout - run: @@ -12,11 +12,42 @@ jobs: lsb_release -a qmake --version - run: - name: Check basic source code style - command: coala --non-interactive + name: Build and run unit tests + # Disable QtUtilitiesTest.testDSTawareness test because it fails on this system. + command: | + export GTEST_FILTER=-QtUtilitiesTest.testDSTawareness + ./scons cc=gcc cxx=g++ link=g++ test=unit max_jobs=0 allow_warnings=0 -j 2 + build-clang: + docker: + - image: tfar/swift-clang:latest + working_directory: ~/swift + steps: + - checkout + - run: + name: Version information + command: | + lsb_release -a + qmake --version - run: name: Build and run unit tests # Disable QtUtilitiesTest.testDSTawareness test because it fails on this system. command: | export GTEST_FILTER=-QtUtilitiesTest.testDSTawareness - ./scons test=unit max_jobs=0 allow_warnings=0 -j 2 + ./scons cc=clang-3.9 cxx=clang++-3.9 link=clang++-3.9 test=unit max_jobs=0 allow_warnings=0 -j 2 + build-coala: + docker: + - image: tfar/swift-coala:latest + working_directory: ~/swift + steps: + - checkout + - run: + name: Check basic source code style + command: coala --non-interactive + +workflows: + version: 2 + build: + jobs: + - build-clang + - build-gcc + - build-coala
\ No newline at end of file |