* Add check for max glibc version * checkout first * tolerate subversions * exit better * rename ci gen script
40 lines
1 KiB
YAML
40 lines
1 KiB
YAML
# Clojure CircleCI 2.0 configuration file
|
|
#
|
|
# Check https://circleci.com/docs/2.0/language-clojure/ for more details
|
|
#
|
|
version: 2.1
|
|
|
|
# this allows you to use CircleCI's dynamic configuration feature
|
|
setup: true
|
|
|
|
# the continuation orb is required in order to use dynamic configuration
|
|
orbs:
|
|
continuation: circleci/continuation@0.1.2
|
|
|
|
# our defined job, and its steps
|
|
jobs:
|
|
setup:
|
|
docker:
|
|
- image: cimg/clojure:1.11.1
|
|
steps:
|
|
- checkout
|
|
- run:
|
|
name: Bootstrap Babashka
|
|
command: |
|
|
curl -sLO https://raw.githubusercontent.com/babashka/babashka/master/install
|
|
sudo bash install --dir /tmp
|
|
- run:
|
|
name: Rename bb binary
|
|
command: mv /tmp/bb /tmp/bbb
|
|
- run:
|
|
name: Generate config
|
|
command: |
|
|
/tmp/bbb .circleci/script/gen_ci.clj > generated_config.yml
|
|
- continuation/continue:
|
|
configuration_path: generated_config.yml
|
|
|
|
# our single workflow, that triggers the setup job defined above
|
|
workflows:
|
|
setup:
|
|
jobs:
|
|
- setup
|