Skip to content

Commit

Permalink
ci: add an action to build binaries
Browse files Browse the repository at this point in the history
Signed-off-by: Etienne Millon <[email protected]>
  • Loading branch information
emillon committed May 3, 2024
1 parent 1d981a0 commit 983a205
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

on:
# TODO: remove PR before merging
pull_request:
workflow_dispatch:
merge_group:

jobs:
binary:
name: Create binaries
strategy:
fail-fast: false
matrix:
os:
- macos-13 # Intel
- macos-14 # ARM
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v22
- run: nix build
- uses: actions/upload-artifact@v4
with:
path: result/bin/dune

0 comments on commit 983a205

Please sign in to comment.