diff options
| author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2020-04-20 01:56:17 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-20 01:56:17 -0400 |
| commit | 110489259c0696c0cee5bec6ad7695a0c93d4e74 (patch) | |
| tree | 34a82b9e686c15e2acb00d62a0f8b95ac126de6d /.circleci/config.yml | |
| parent | 57c9489b28a481abc078ad3a2dd197079f9c414b (diff) | |
| parent | 667574b2e5628976c0cc0ddc2e1ae25bf5c0fd02 (diff) | |
| download | spmc-110489259c0696c0cee5bec6ad7695a0c93d4e74.tar.gz | |
Merge pull request #28 from jhunkeler/circleci-macos
Circleci macos
Diffstat (limited to '.circleci/config.yml')
| -rw-r--r-- | .circleci/config.yml | 40 |
1 files changed, 39 insertions, 1 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 270bd76..54b5d9e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ version: 2.1 jobs: - build: + build-centos7: docker: - image: centos:7 @@ -29,6 +29,36 @@ jobs: command: | .circleci/install_reloc.sh + - run: + name: "Install spm" + command: | + .circleci/install_spm.sh + + - run: + name: "Run tests" + command: | + .circleci/test_spm.sh + + build-macos: + macos: + xcode: 11.4.0 + + environment: + HOMEBREW_NO_AUTO_UPDATE: 1 + DYLD_INSERT_LIBRARIES: /usr/lib/libgmalloc.dylib + + steps: + - checkout + + - run: + name: "Initialize" + command: | + .circleci/init.sh + + - run: + name: "Install reloc" + command: | + .circleci/install_reloc.sh - run: name: "Install spm" @@ -39,3 +69,11 @@ jobs: name: "Run tests" command: | .circleci/test_spm.sh + +workflows: + version: 2 + build-and-test: + jobs: + - build-centos7 + - build-macos + |
