From c45a1920c7a43e21090f35c801a9733a914914d3 Mon Sep 17 00:00:00 2001 From: Lars Brinkhoff Date: Sun, 5 Aug 2018 06:16:05 +0200 Subject: [PATCH] Parallel CircleCI build with all three emulators. --- .circleci/config.yml | 45 ++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 41 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d3ab1372..8a43626b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,6 @@ -version: 2 +version: 2.0 jobs: - build: + build_ka10: docker: - image: debian environment: @@ -11,7 +11,44 @@ jobs: - run: name: build command: "make EMULATOR=$EMULATOR" - no_output_timeout: 60m - timeout: 60m + no_output_timeout: 30m + timeout: 120m - store_artifacts: path: out + build_klh10: + docker: + - image: debian + environment: + EMULATOR: "klh10" + steps: + - checkout + - run: sh -ex build/dependencies.sh install_linux + - run: + name: build + command: "make EMULATOR=$EMULATOR" + no_output_timeout: 30m + timeout: 120m + - store_artifacts: + path: out + build_simh: + docker: + - image: debian + environment: + EMULATOR: "simh" + steps: + - checkout + - run: sh -ex build/dependencies.sh install_linux + - run: + name: build + command: "make EMULATOR=$EMULATOR" + no_output_timeout: 30m + timeout: 120m + - store_artifacts: + path: out +workflows: + version: 2 + build: + jobs: + - build_ka10 + - build_klh10 + - build_simh