Files
uelen e7829a714b
ci/woodpecker/push/all_push Pipeline was successful
ci/woodpecker/push/master_push Pipeline was successful
Got CI working
Right now there are a few unit tests and the CI also ensures that the
project builds
2026-06-03 17:27:08 -07:00

33 lines
768 B
YAML

# 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
image: woodpeckerci/plugin-kaniko
settings:
dockerfile: .woodpecker/Dockerfile
registry: git.firechicken.net
repo: fedichat/rust_builder
username:
from_secret: OCI_USER
password:
from_secret: OCI_TOKEN
- name: build
image: git.firechicken.net/fedichat/rust_builder:latest
pull: true
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]