hooks: pass in VmInfo for post-boot and stop #36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build RISC V RVA23 via x86 cross-compile | |
| on: | |
| push: | |
| pull_request: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/cache@v5 | |
| with: | |
| path: | | |
| ~/.cargo/bin/ | |
| ~/.cargo/registry/index/ | |
| ~/.cargo/registry/cache/ | |
| ~/.cargo/git/db/ | |
| target/ | |
| key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
| - name: Build image | |
| run: podman build -t odorobo-builder:rva23 . | |
| - name: Build binaries | |
| run: podman run --rm -v ${{ github.workspace }}:/code -w /code odorobo-builder:rva23 cargo build --release --verbose | |
| - name: Upload artifact - agent | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| archive: false | |
| name: odorobo-agent-riscv_rva23 | |
| path: | | |
| target/riscv64a23-unknown-linux-gnu/release/odorobo-agent | |
| - name: Upload artifact - odoroboctl | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| archive: false | |
| name: odoroboctl-riscv_rva23 | |
| path: | | |
| target/riscv64a23-unknown-linux-gnu/release/odoroboctl |