diff --git a/.github/workflows/rva23.yml b/.github/workflows/rva23.yml new file mode 100644 index 0000000..a994285 --- /dev/null +++ b/.github/workflows/rva23.yml @@ -0,0 +1,25 @@ +name: Cross-compile to RVA23 + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - 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 + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + name: odorobo + path: target/riscv64a23-unknown-linux-gnu/release/odorobo diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..4500b35 --- /dev/null +++ b/Containerfile @@ -0,0 +1,17 @@ +FROM alpine:3.23.3 +RUN <