20 lines
390 B
YAML
20 lines
390 B
YAML
steps:
|
|
build:
|
|
when:
|
|
- event: cron
|
|
- event: push
|
|
branch: main
|
|
- event: pull_request
|
|
image: docker.io/rust:latest
|
|
commands:
|
|
- apt-get install libssl-dev
|
|
- cargo build
|
|
test:
|
|
when:
|
|
- event: cron
|
|
- event: push
|
|
branch: main
|
|
- event: pull_request
|
|
image: docker.io/rust:latest
|
|
commands:
|
|
- cargo test
|