aboutsummaryrefslogtreecommitdiff
path: root/.circleci/config.yml
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-04-19 22:50:56 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-04-20 00:21:04 -0400
commitcc29912fcbde997ef710a34fe3d52bb17bd67462 (patch)
tree4a3b05f4ad8303bf0f4744cf02f215a9732b24d9 /.circleci/config.yml
parent4cd31e08440e438c3dfd1f224babdc627d591530 (diff)
downloadspmc-cc29912fcbde997ef710a34fe3d52bb17bd67462.tar.gz
Add macos
Diffstat (limited to '.circleci/config.yml')
-rw-r--r--.circleci/config.yml40
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
+