Skip to content

Commit a479977

Browse files
committed
moving to ghmq
1 parent 1091528 commit a479977

File tree

5 files changed

+70
-61
lines changed

5 files changed

+70
-61
lines changed

riscv-rt/.github/bors.toml

Lines changed: 0 additions & 8 deletions
This file was deleted.

riscv-rt/.github/workflows/blobs.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
on:
2+
push:
3+
branches: [ master, ghmq ]
4+
pull_request:
5+
merge_group:
6+
7+
name: Check blobs
8+
9+
jobs:
10+
blobs:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- name: Install riscv gcc
15+
run: sudo apt-get update && sudo apt-get install -y gcc-riscv64-unknown-elf
16+
- name: Check blobs
17+
run: ./check-blobs.sh

riscv-rt/.github/workflows/build.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
on:
2+
push:
3+
branches: [ master, ghmq ]
4+
pull_request:
5+
merge_group:
6+
7+
name: Build check
8+
9+
jobs:
10+
build-riscv:
11+
strategy:
12+
matrix:
13+
# All generated code should be running on stable now, MRSV is 1.59.0
14+
toolchain: [ stable, nightly, 1.59.0 ]
15+
target:
16+
- riscv32i-unknown-none-elf
17+
- riscv32imc-unknown-none-elf
18+
- riscv32imac-unknown-none-elf
19+
- riscv64imac-unknown-none-elf
20+
- riscv64gc-unknown-none-elf
21+
cargo_flags: [ "--no-default-features", "--all-features" ]
22+
include:
23+
# Nightly is only for reference and allowed to fail
24+
- toolchain: nightly
25+
experimental: true
26+
runs-on: ubuntu-latest
27+
continue-on-error: ${{ matrix.experimental || false }}
28+
steps:
29+
- uses: actions/checkout@v3
30+
- uses: dtolnay/rust-toolchain@master
31+
with:
32+
toolchain: ${{ matrix.toolchain }}
33+
targets: ${{ matrix.target }}
34+
- name: Build library
35+
run: cargo build --target ${{ matrix.target }} ${{ matrix.cargo_flags }}
36+
37+
# Job to check that all the builds succeeded
38+
build-check:
39+
needs:
40+
- build-riscv
41+
runs-on: ubuntu-latest
42+
if: always()
43+
steps:
44+
- run: jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}'
45+

riscv-rt/.github/workflows/ci.yaml

Lines changed: 0 additions & 40 deletions
This file was deleted.
Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,19 @@
11

22
on:
33
push:
4-
branches: [ staging, trying, master ]
4+
branches: [ master, ghmq ]
55
pull_request:
6+
merge_group:
67

78
name: Code formatting check
89

910
jobs:
10-
fmt:
11-
name: Rustfmt
12-
runs-on: ubuntu-20.04
11+
rustfmt:
12+
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
15-
- uses: actions-rs/toolchain@v1
14+
- uses: actions/checkout@v3
15+
- uses: dtolnay/rust-toolchain@stable
1616
with:
17-
profile: minimal
18-
toolchain: stable
19-
override: true
2017
components: rustfmt
21-
- uses: actions-rs/cargo@v1
22-
with:
23-
command: fmt
24-
args: --all -- --check
18+
- name: Run Rustfmt
19+
run: cargo fmt --all -- --check --verbose

0 commit comments

Comments
 (0)