Skip to content

Commit

Permalink
Problem: CircleCI missing MacOS jobs
Browse files Browse the repository at this point in the history
Solution: Add some
  • Loading branch information
gotcha committed Mar 16, 2021
1 parent 83b2034 commit ca17803
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- run:
command: ./ci_build.sh

install-python-and-test:
install-python-and-test-ubuntu:
parameters:
python-version:
type: string
Expand All @@ -39,6 +39,26 @@ jobs:
- run:
command: ./ci_build.sh

install-python-and-test-macos:
parameters:
python-version:
type: string
macos:
xcode: 11.1.0
environment:
BUILD_TYPE: bare_machines
PYTHON_VER: << parameters.python-version >>
steps:
- run:
command: brew uninstall python
- run:
command: brew install python@${PYTHON_VER}
- run:
command: brew link --force --overwrite python@${PYTHON_VER}
- checkout
- run:
command: ./ci_build.sh

workflows:
tests-containers:
jobs:
Expand All @@ -56,8 +76,14 @@ workflows:
build-type: ["debian_sys_container"]
tests-ubuntu-machines:
jobs:
- install-python-and-test:
- install-python-and-test-ubuntu:
matrix:
parameters:
python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9"]
tests-macos-machines:
jobs:
- install-python-and-test-macos:
matrix:
parameters:
python-version: ["3.7", "3.8", "3.9"]

0 comments on commit ca17803

Please sign in to comment.