aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2024-06-09 16:40:51 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2024-06-09 16:40:51 -0700
commit429c20de60f6d700be11f4969756143f22396a6f (patch)
tree2abdc3d65b0cb4650df4617f19b04d04b1b2b4e6
parentaa91955aa4072310fa8113e2fc3e4be4bc188f45 (diff)
Remove CircleCI config
-rw-r--r--.circleci/config.yml62
1 files changed, 0 insertions, 62 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
deleted file mode 100644
index da510e8..0000000
--- a/.circleci/config.yml
+++ /dev/null
@@ -1,62 +0,0 @@
-# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference
-version: 2.1
-jobs:
- build:
- working_directory: ~/repo
- docker:
- - image: cimg/go:1.22.1
- steps:
- - checkout
-# - restore_cache:
-# keys:
-# - go-mod-v4-{{ checksum "go.sum" }}
- - run:
- name: Install Dependencies
- command: go mod download
-# - save_cache:
-# key: go-mod-v4-{{ checksum "go.sum" }}
-# paths:
-# - "/go/pkg/mod"
- - run:
- name: Run tests
- command: |
- mkdir -p /tmp/test-reports
- gotestsum --junitfile /tmp/test-reports/unit-tests.xml
- - store_test_results:
- path: /tmp/test-reports
-
- deploy:
- docker:
- - image: cimg/go:1.22.1
-# working_directory: /go/src/github.com/jhalter/mobius
- steps:
- - checkout
- - run: go get -u github.com/mitchellh/gox
- - run: go install github.com/tcnksm/ghr@latest
- - run: go install github.com/stevenmatthewt/semantics@latest
- - run:
- name: cross compile
- command: |
- make all
- - add_ssh_keys
- - run:
- name: create release
- command: |
- tag=$(/home/circleci/go/bin/semantics --output-tag)
- if [ "$tag" ]; then
- /home/circleci/go/bin/ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace $tag dist/
- else
- echo "The commit message(s) did not indicate a major/minor/patch version."
- fi
-
-workflows:
- version: 2
- build-deploy:
- jobs:
- - build
- - deploy:
- requires:
- - build
- filters:
- branches:
- only: master