github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/circle/yaml/testdata/matrix/example1.yaml (about) 1 # https://circleci.com/docs/using-matrix-jobs/#use-matrix-jobs-to-run-multiple-os-tests 2 3 version: 2.1 4 5 orbs: 6 node: circleci/node@4.7 7 8 executors: 9 docker: # Docker using the Base Convenience Image 10 docker: 11 - image: cimg/base:stable 12 auth: 13 username: mydockerhub-user 14 password: $DOCKERHUB_PASSWORD # context / project UI env-var reference 15 linux: # a Linux VM running Ubuntu 20.04 16 machine: 17 image: ubuntu-2004:202107-02 18 macos: # macos executor running Xcode 19 macos: 20 xcode: 14.2.0 21 22 jobs: 23 test: 24 parameters: 25 os: 26 type: executor 27 node-version: 28 type: string 29 executor: << parameters.os >> 30 steps: 31 - checkout 32 - node/install: 33 node-version: << parameters.node-version >> 34 install-yarn: true 35 36 workflows: 37 all-tests: 38 jobs: 39 - test: 40 matrix: 41 parameters: 42 os: [docker, linux, macos] 43 node-version: ["14.17.6", "16.9.0"]