File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Cross-compile to RVA23
1+ name : Build RISC V RVA23 via x86 cross-compile
22
33on :
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
Original file line number Diff line number Diff line change 1- name : Rust
1+ name : Build x86
22
33on :
44 push :
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
You can’t perform that action at this time.
0 commit comments