Add CircleCi config
This commit is contained in:
parent
483f6c8bd6
commit
639888d227
13
.circleci/config.yml
Normal file
13
.circleci/config.yml
Normal file
@ -0,0 +1,13 @@
|
||||
version: 2.1
|
||||
jobs:
|
||||
build:
|
||||
docker:
|
||||
- image: docker:19.03.4
|
||||
steps:
|
||||
- setup_remote_docker
|
||||
- checkout
|
||||
- run: apk add -u make zip git curl
|
||||
- run: pwd; ls -la; make install
|
||||
- run: pwd; ls -la; tools/shards install
|
||||
- run: pwd; ls -la; make spec
|
||||
- run: pwd; ls -la; make build
|
5
Makefile
5
Makefile
@ -7,8 +7,11 @@ build-docker:
|
||||
docker pull alpine:edge
|
||||
docker build -t $(APP_NAME)-crystal .
|
||||
|
||||
install-shards:
|
||||
shards install
|
||||
|
||||
.PHONY: install
|
||||
install: build-docker
|
||||
install: build-docker install-shards
|
||||
|
||||
.PHONY: build
|
||||
build:
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/usr/bin/env sh
|
||||
|
||||
set -eu
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/usr/bin/env sh
|
||||
|
||||
set -eu
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user