FINAL CI
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# Always run build and unit tests
|
||||
steps:
|
||||
- name: build
|
||||
image: git.firechicken.net/fedichat/rust_builder:latest
|
||||
pull: true
|
||||
commands:
|
||||
- cargo build
|
||||
depends_on: []
|
||||
|
||||
- name: test
|
||||
image: git.firechicken.net/fedichat/rust_builder:latest
|
||||
pull: true
|
||||
commands:
|
||||
- cargo test
|
||||
depends_on: []
|
||||
@@ -1,5 +1,9 @@
|
||||
# do a rebuild whenever we push to master and make sure tests still pass
|
||||
# eventually this should also do integration tests
|
||||
|
||||
when:
|
||||
- event: push
|
||||
branch: master
|
||||
|
||||
steps:
|
||||
- name: docker-build
|
||||
@@ -16,7 +20,13 @@ steps:
|
||||
- name: build
|
||||
image: git.firechicken.net/fedichat/rust_builder:latest
|
||||
pull: true
|
||||
#entrypoint: ["/bin/bash","-x", "-c", "echo $CI_SCRIPT | base64 -d | /bin/bash -e"]
|
||||
#entrypoint: ["/bin/bash","-c", "echo $PATH"]
|
||||
commands:
|
||||
- cargo build
|
||||
depends_on: [docker-build]
|
||||
|
||||
- name: test
|
||||
image: git.firechicken.net/fedichat/rust_builder:latest
|
||||
pull: true
|
||||
commands:
|
||||
- cargo test
|
||||
depends_on: [docker-build]
|
||||
Reference in New Issue
Block a user