From cc29912fcbde997ef710a34fe3d52bb17bd67462 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sun, 19 Apr 2020 22:50:56 -0400 Subject: Add macos --- .circleci/config.yml | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) (limited to '.circleci/config.yml') 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 + -- cgit