Skip to content

Commit 308dc6e

Browse files
make x86 and rva23 naming consistent and add upload artifact to x86
1 parent 6f73d1d commit 308dc6e

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Cross-compile to RVA23
1+
name: Build RISC V RVA23 via x86 cross-compile
22

33
on:
44
push:
@@ -26,11 +26,11 @@ jobs:
2626
- name: Build image
2727
run: podman build -t odorobo-builder:rva23 .
2828
- name: Build binaries
29-
run: podman run --rm -v ${{ github.workspace }}:/code -w /code odorobo-builder:rva23 cargo build --release
29+
run: podman run --rm -v ${{ github.workspace }}:/code -w /code odorobo-builder:rva23 cargo build --release --verbose
3030
- name: Upload artifact
3131
uses: actions/upload-artifact@v4
3232
with:
33-
name: odorobo
33+
name: odorobo_riscv_rva23
3434
path: |
3535
target/riscv64a23-unknown-linux-gnu/release/odorobo-agent
3636
target/riscv64a23-unknown-linux-gnu/release/odoroboctl
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Rust
1+
name: Build x86
22

33
on:
44
push:
@@ -18,5 +18,12 @@ jobs:
1818
- uses: actions/checkout@v4
1919
- name: Build
2020
run: cargo build --verbose
21+
- name: Upload artifact
22+
uses: actions/upload-artifact@v4
23+
with:
24+
name: odorobo_x86
25+
path: |
26+
target/release/odorobo-agent
27+
target/release/odoroboctl
2128
- name: Run tests
2229
run: cargo test --verbose

0 commit comments

Comments
 (0)