From 7d359c7c9a976033632c59e3a38c62ad767582eb Mon Sep 17 00:00:00 2001 From: Gordon Fontenot Date: Wed, 29 May 2019 12:39:53 -0500 Subject: [PATCH] Update circle config to use swift test This should be faster, and lets us test our SPM setup on CI. Note that this _also_ updates the version of Xcode we're using on CI, which was woefully out of date up till now. --- .circleci/config.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2df578d..350ad25 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,22 +3,18 @@ version: 2 jobs: build-and-test: macos: - xcode: "9.3.0" + xcode: "10.2.0" steps: - checkout - restore_cache: - key: dependency-cache-{{ checksum "Cartfile.resolved" }} - - run: - name: Install Carthage Dependencies - command: bin/carthage-bootstrap-if-needed + key: dependency-cache-{{ checksum "Package.resolved" }} + - run: swift build - save_cache: - key: dependency-cache-{{ checksum "Cartfile.resolved" }} + key: dependency-cache-{{ checksum "Package.resolved" }} paths: - - Carthage - - run: - name: Build and Test - command: bin/test + - .build + - run: swift test workflows: version: 2