Trying to fix tests in CircleCI for Mac

This commit is contained in:
Syrus 2019-01-18 11:43:53 -08:00
parent e953308b0e
commit 2f8c62516c

View File

@ -62,7 +62,7 @@ jobs:
- restore_cache: - restore_cache:
keys: keys:
- v4-cargo-cache-darwin-{{ arch }}-{{ checksum "Cargo.lock" }} - v4-cargo-cache-darwin-{{ arch }}-{{ checksum "Cargo.lock" }}
- v4-cargo-cache-darwin-{{ arch }}-brew - v4-cargo-cache-darwin-{{ arch }}-brew-3
# - run: # - run:
# name: Install CMAKE # name: Install CMAKE
# command: | # command: |
@ -75,12 +75,12 @@ jobs:
- run: - run:
name: Install crate dependencies name: Install crate dependencies
command: | command: |
brew install autoconf automake libtool cmake brew install autoconf automake libtool cmake libffi
- save_cache: - save_cache:
paths: paths:
- /usr/local/Homebrew - /usr/local/Homebrew
- /usr/local/Cellar # - /usr/local/Cellar
key: v4-cargo-cache-darwin-{{ arch }}-brew key: v4-cargo-cache-darwin-{{ arch }}-brew-3
- run: - run:
name: Install Rust name: Install Rust
command: | command: |
@ -164,7 +164,7 @@ jobs:
- restore_cache: - restore_cache:
keys: keys:
- v4-cargo-cache-darwin-{{ arch }}-{{ checksum "Cargo.lock" }} - v4-cargo-cache-darwin-{{ arch }}-{{ checksum "Cargo.lock" }}
- v4-cargo-cache-darwin-{{ arch }}-brew - v4-cargo-cache-darwin-{{ arch }}-brew-3
# - run: # - run:
# name: Install CMAKE # name: Install CMAKE
# command: | # command: |
@ -177,12 +177,12 @@ jobs:
- run: - run:
name: Install crate dependencies name: Install crate dependencies
command: | command: |
brew install autoconf automake libtool cmake brew install autoconf automake libtool cmake libffi
- save_cache: - save_cache:
paths: paths:
- /usr/local/Homebrew - /usr/local/Homebrew
- /usr/local/Cellar # - /usr/local/Cellar
key: v4-cargo-cache-darwin-{{ arch }}-brew key: v4-cargo-cache-darwin-{{ arch }}-brew-3
- run: - run:
name: Install Rust name: Install Rust
command: | command: |
@ -295,16 +295,11 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
# :
# filters:
# tags:
# only: /^\d+\.\d+\.\d+$/
- publish-github-release: - publish-github-release:
requires: requires:
- lint - lint
- test-and-build - test-and-build
- test-and-build-macos - test-and-build-macos
filters: filters:
tags: branches:
only: /^\d+\.\d+\.\d+$/ only: master