Compare commits
No commits in common. "3cad519f00f58d85b2c891ddbca63995eb3519d8" and "a0e6005acd55bf86a73ef180c425a67e7a040bef" have entirely different histories.
3cad519f00
...
a0e6005acd
|
@ -12,33 +12,29 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
# TODO(cascode) cache checkout for build and test stages?
|
# TODO(cascode) cache checkout for build and test stages?
|
||||||
lint:
|
lint:
|
||||||
container:
|
container: &BUILD_CONTAINER
|
||||||
# TODO use communitymedia docker registry
|
# TODO use communitymedia docker registry
|
||||||
image: "cascode/aural-isle-ci:0"
|
image: &BUILDER_IMAGE "cascode/aural-isle-ci:2"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
github-server-url: "https://code.communitymedia.network"
|
github-server-url: &GIT_URL "https://code.communitymedia.network"
|
||||||
- name: rustfmt
|
- name: rustfmt
|
||||||
run: cargo fmt --check
|
run: cargo fmt --check
|
||||||
build:
|
build:
|
||||||
container:
|
container: *BUILD_CONTAINER
|
||||||
# TODO use communitymedia docker registry
|
|
||||||
image: "cascode/aural-isle-ci:2"
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
github-server-url: "https://code.communitymedia.network"
|
github-server-url: *GIT_URL
|
||||||
- name: build
|
- name: build
|
||||||
run: cargo build
|
run: cargo build
|
||||||
# TODO(cascode) cache builds for test stage
|
# TODO(cascode) cache builds for test stage
|
||||||
test:
|
test:
|
||||||
container:
|
container: *BUILD_CONTAINER
|
||||||
# TODO use communitymedia docker registry
|
|
||||||
image: "cascode/aural-isle-ci:2"
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
github-server-url: "https://code.communitymedia.network"
|
github-server-url: *GIT_URL
|
||||||
- name: run unit tests
|
- name: run unit tests
|
||||||
run: cargo test
|
run: cargo test
|
||||||
|
|
Loading…
Reference in New Issue