Skip to content

Instantly share code, notes, and snippets.

@ogii

ogii/config.yml Secret

Created Apr 12, 2021
Embed
What would you like to do?
Conditional executor config
version: 2.1
executors:
linux:
docker:
- image: cimg/base:2020.01
mac:
macos:
xcode: "11.3.0"
win:
machine:
image: windows-server-2019-vs2019:stable
resource_class: windows.medium
shell: powershell.exe
jobs:
test:
parameters:
os:
type: string
executor: <<parameters.os>>
steps:
- checkout
- run: echo "test"
workflows:
all-tests:
jobs:
- test:
matrix:
parameters:
os: ["linux", "mac", "win"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment