retire CircleCI; update build-clj
This commit is contained in:
parent
dce2269be7
commit
627bc25357
4 changed files with 6 additions and 32 deletions
|
|
@ -1,29 +0,0 @@
|
|||
version: 2
|
||||
jobs:
|
||||
build:
|
||||
working_directory: ~/honeysql
|
||||
docker:
|
||||
- image: circleci/clojure:openjdk-11-tools-deps-1.10.3.933
|
||||
steps:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
key: honeysql-{{ checksum "deps.edn" }}
|
||||
- run:
|
||||
name: Get rid of erroneous git config
|
||||
command: rm -rf ~/.gitconfig
|
||||
- run:
|
||||
name: Install Node
|
||||
command: sudo apt-get update && sudo apt-get install -y nodejs
|
||||
- run:
|
||||
name: Download Dependencies
|
||||
# 1.9 is the default so we need to ask for 1.10 (1.11 is a snapshot we don't cache):
|
||||
command: clojure -P -M:build:test:cljs:eastwood:readme && clojure -P -M:1.10
|
||||
- save_cache:
|
||||
paths:
|
||||
- ~/.m2
|
||||
- ~/.gitlibs
|
||||
- ~/node_modules
|
||||
key: honeysql-{{ checksum "deps.edn" }}
|
||||
- run:
|
||||
name: Run all the tests
|
||||
command: clojure -T:build ci
|
||||
5
.github/workflows/test-and-snapshot.yml
vendored
5
.github/workflows/test-and-snapshot.yml
vendored
|
|
@ -1,6 +1,9 @@
|
|||
name: Clojure CI
|
||||
|
||||
on: [push]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "develop"
|
||||
|
||||
jobs:
|
||||
build-and-snapshot:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Honey SQL [](https://github.com/seancorfield/honeysql/actions/workflows/test.yml) [](https://circleci.com/gh/seancorfield/honeysql/tree/develop) [](https://gitpod.io/#https://github.com/seancorfield/honeysql)
|
||||
# Honey SQL [](https://github.com/seancorfield/honeysql/actions/workflows/test.yml) [](https://gitpod.io/#https://github.com/seancorfield/honeysql)
|
||||
|
||||
SQL as Clojure data structures. Build queries programmatically -- even at runtime -- without having to bash strings together.
|
||||
|
||||
|
|
|
|||
2
deps.edn
2
deps.edn
|
|
@ -4,7 +4,7 @@
|
|||
:aliases
|
||||
{;; for help: clojure -A:deps -T:build help/doc
|
||||
:build {:deps {io.github.seancorfield/build-clj
|
||||
{:git/tag "v0.5.2" :git/sha "8f75b81"}}
|
||||
{:git/tag "v0.5.5" :git/sha "0527130"}}
|
||||
:ns-default build}
|
||||
|
||||
;; versions to test against:
|
||||
|
|
|
|||
Loading…
Reference in a new issue