Skip to content

Instantly share code, notes, and snippets.

@loliGothicK
Last active June 12, 2019 12:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loliGothicK/6f89b586fb1363399cb019b885db70e8 to your computer and use it in GitHub Desktop.
Save loliGothicK/6f89b586fb1363399cb019b885db70e8 to your computer and use it in GitHub Desktop.
version: 2.1
executors:
default:
docker:
- image: buildpack-deps:bionic-curl
test-env:
parameters:
compiler:
description: "compiler-version"
default: "clang-7.0.0"
type: string
docker:
- image: enumack/mitama-env:<< parameters.compiler >>
jobs:
test:
description: Testing
parameters:
compiler:
description: "compiler-version"
default: "clang-7.0.0"
type: string
executor:
name: test-env
compiler: << parameters.compiler >>
steps:
- checkout
- run: apt upgrade -y && apt update -y && apt install -y git
- run: git submodule update --init --recursive
- run: chmod +x ./mitama_build.sh
- run: ./mitama_build.sh
workflows:
build:
jobs:
- test:
compiler: clang-8.0.0
# clang...
- test:
compiler: gcc-9.1
# gcc...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment