This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
40
unikernel/duniverse/dune_/.github/workflows/binaries.yml
vendored
Normal file
40
unikernel/duniverse/dune_/.github/workflows/binaries.yml
vendored
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
name: Binaries
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
binary:
|
||||
name: Create
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- os: macos-13
|
||||
name: x86_64-apple-darwin
|
||||
installable: .#
|
||||
- os: macos-14
|
||||
name: aarch64-apple-darwin
|
||||
installable: .#
|
||||
- os: ubuntu-22.04
|
||||
name: x86_64-unknown-linux-musl
|
||||
installable: .#dune-static
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0 # for git describe
|
||||
- uses: cachix/install-nix-action@v22
|
||||
- run: echo "(version $(git describe --always --dirty --abbrev=7))" >> dune-project
|
||||
- run: nix build ${{ matrix.installable }}
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: result/bin/dune
|
||||
name: dune-${{ matrix.name }}
|
||||
combine:
|
||||
runs-on: ubuntu-latest
|
||||
needs: binary
|
||||
steps:
|
||||
- uses: actions/upload-artifact/merge@v4
|
||||
with:
|
||||
separate-directories: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue