Update README #7
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 | |
concurrency: | |
group: ${{ github.ref }}_ci | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/flakehub-cache-action@main | |
- uses: DeterminateSystems/flake-checker-action@main | |
- name: Build ELF | |
run: nix develop --command sbt nativeLink | |
- name: Build Unikernel | |
run: nix develop --command ops build ./target/scala-3.6.3/unikernel-scala-out | |
- uses: actions/upload-artifact@v4 | |
with: | |
path: | | |
target/scala-3.6.3/unikernel-scala-out | |
~/.ops/images/unikernel-scala-out.img | |
compression-level: 9 | |
overwrite: true | |