tangled
alpha
login
or
join now
tjh.dev
/
um32
1
fork
atom
Implementation of the UM-32 "Universal Machine" as described by the
Cult of the Bound Variable
1
fork
atom
overview
issues
pulls
pipelines
setup continuous integration
tjh
1 year ago
d68cb6b5
2b7cfbac
+38
1 changed file
expand all
collapse all
unified
split
.github
workflows
continuous-integration.yaml
+38
.github/workflows/continuous-integration.yaml
···
1
1
+
name: Continuous Integration
2
2
+
on:
3
3
+
- push
4
4
+
- pull_request
5
5
+
6
6
+
jobs:
7
7
+
unit-tests:
8
8
+
runs-on: ubuntu-latest
9
9
+
steps:
10
10
+
- uses: actions/checkout@v4
11
11
+
- name: Run unit tests
12
12
+
run: cargo test --all-targets --all-features
13
13
+
14
14
+
clippy-check:
15
15
+
runs-on: ubuntu-latest
16
16
+
env:
17
17
+
RUSTFLAGS: "-Dwarnings"
18
18
+
steps:
19
19
+
- uses: actions/checkout@v4
20
20
+
- name: Run Clippy
21
21
+
run: cargo clippy --all-targets --all-features
22
22
+
23
23
+
cargo-deny:
24
24
+
runs-on: ubuntu-latest
25
25
+
strategy:
26
26
+
matrix:
27
27
+
checks:
28
28
+
- advisories
29
29
+
- bans licenses sources
30
30
+
31
31
+
# Prevent sudden announcement of a new advisory from failing ci:
32
32
+
continue-on-error: ${{ matrix.checks == 'advisories' }}
33
33
+
34
34
+
steps:
35
35
+
- uses: actions/checkout@v4
36
36
+
- uses: EmbarkStudios/cargo-deny-action@v2
37
37
+
with:
38
38
+
command: check ${{ matrix.checks }}