Added fw_jump.bin of OpenSBI to CI output.
#18
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: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| env: | |
| # This is used as the key of the cache. | |
| # Change this if buildroot version is changed, | |
| # Or the buildroot config is changed. | |
| BUILDROOT_VERSION: 2025.08.1-2 | |
| jobs: | |
| prepare-sdk: | |
| runs-on: ubuntu-latest | |
| name: Prepare the buildroot SDK and source files | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Fetch Repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: 'recursive' | |
| - name: Cache buildroot SDK | |
| uses: actions/cache@v4 | |
| id: cache-buildroot | |
| with: | |
| path: build | |
| key: ${{ env.BUILDROOT_VERSION }} | |
| - name: Download source tarballs | |
| if: steps.cache-buildroot.outputs.cache-hit != 'true' | |
| run: | | |
| make source | |
| build-all: | |
| runs-on: ubuntu-latest | |
| name: Build all testing workloads | |
| needs: prepare-sdk | |
| timeout-minutes: 120 | |
| steps: | |
| - name: Fetch Repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: 'recursive' | |
| - name: Restore cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: build | |
| key: ${{ env.BUILDROOT_VERSION }} | |
| - name: Build all Workloads | |
| run: | | |
| make tarball | |
| mkdir -p build/images | |
| cp build/LibCheckpointAlpha/build/gcpt.bin build/images | |
| cp build/opensbi/build/platform/generic/firmware/fw_jump.bin build/images | |
| cp build/buildroot/output/images/Image build/images | |
| - name: Upload Artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: nemu-workloads | |
| path: | | |
| build/workloads.tar.zstd | |
| build/images |