roc/.github/workflows/ci.yml

29 lines
593 B
YAML
Raw Normal View History

2021-12-14 16:32:41 +03:00
on: [pull_request]
2019-11-15 02:21:59 +03:00
2019-11-15 02:47:11 +03:00
name: CI
2019-11-15 02:21:59 +03:00
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
2021-01-30 19:00:03 +03:00
RUST_BACKTRACE: 1
2019-11-15 02:21:59 +03:00
jobs:
2021-05-25 18:00:49 +03:00
build-fmt-clippy-test:
2021-02-05 21:48:02 +03:00
name: fmt, clippy, test --release
2021-09-08 20:56:53 +03:00
runs-on: [self-hosted, i5-4690K]
2021-05-25 18:00:49 +03:00
timeout-minutes: 90
2021-02-02 17:14:27 +03:00
env:
FORCE_COLOR: 1
steps:
- uses: actions/checkout@v2
2021-02-08 22:06:32 +03:00
with:
2021-05-10 17:22:48 +03:00
clean: "true"
2021-02-02 17:14:27 +03:00
- name: Earthly version
2021-02-02 17:18:39 +03:00
run: earthly --version
2021-02-02 17:14:27 +03:00
2021-02-25 08:08:30 +03:00
- name: install dependencies, build, run zig tests, rustfmt, clippy, cargo test --release
run: ./ci/safe-earthly.sh +test-all