Debian Codegraph @

debian/missing-sources/simba/.github/workflows/simba-ci-build.yml

raw symbols SCIP
1 name: Simba CI build
2
3 on:
4 push:
5 branches: [ master ]
6 pull_request:
7 branches: [ master ]
8
9 env:
10 CARGO_TERM_COLOR: always
11
12 jobs:
13 fmt:
14 runs-on: ubuntu-latest
15 steps:
16 - uses: actions/checkout@v4
17 - name: Check formatting
18 run: cargo fmt -- --check
19 clippy:
20 runs-on: ubuntu-latest
21 env:
22 RUSTFLAGS: -D warnings
23 steps:
24 - uses: actions/checkout@v4
25 - name: Install latest nightly
26 uses: actions-rs/toolchain@v1
27 with:
28 toolchain: nightly
29 override: true
30 components: clippy
31 - name: Check formatting
32 run: cargo clippy --all-features
33 build-native:
34 runs-on: ubuntu-latest
35 steps:
36 - uses: actions/checkout@v4
37 - name: Install latest nightly
38 uses: actions-rs/toolchain@v1
39 with:
40 toolchain: nightly
41 override: false
42 - name: Build --no-default-feature
43 run: cargo build --no-default-features;
44 - name: Build libm only
45 run: cargo build --no-default-features --features libm;
46 - name: Build (default features)
47 run: cargo build;
48 - name: Build all features except libm
49 run: cargo build --features wide,rkyv-serialize,serde_serialize,partial_fixed_point_support;
50 - name: Build all features
51 run: cargo +nightly build --all-features
52 build-wasm:
53 runs-on: ubuntu-latest
54 steps:
55 - uses: actions/checkout@v4
56 - run: rustup target add wasm32-unknown-unknown
57 - name: build
58 run: cargo build --verbose --target wasm32-unknown-unknown;
59 build-no-std:
60 runs-on: ubuntu-latest
61 steps:
62 - uses: actions/checkout@v4
63 - name: Install latest stable
64 uses: dtolnay/rust-toolchain@master
65 with:
66 toolchain: stable
67 targets: "x86_64-unknown-none,thumbv7em-none-eabihf"
68 - name: build x86_64-unknown-none
69 run: cargo build --verbose --no-default-features --target=x86_64-unknown-none
70 - name: build x86_64-unknown-none --features libm
71 run: cargo build --verbose --no-default-features --features libm --target=x86_64-unknown-none
72 - name: build thumbv7em-none-eabihf
73 run: cargo build --verbose --no-default-features --target=thumbv7em-none-eabihf
74 - name: build thumbv7em-none-eabihf --features libm
75 run: cargo build --verbose --no-default-features --features libm --target=thumbv7em-none-eabihf