Skip to content

Merge branch 'release/1.2.0' #111

Merge branch 'release/1.2.0'

Merge branch 'release/1.2.0' #111

Workflow file for this run

name: Electrod
on: push
jobs:
binaries:
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- macos-14
- ubuntu-latest
- windows-latest
ocaml-compiler:
- 4.14.1
runs-on: ${{ matrix.os }}
steps:
- name: Checkout tree
uses: actions/checkout@v4
- name: Set-up OCaml
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
opam-local-packages: |
!electrod.opam.lock
electrod.opam
- name: Dependencies
run: opam install . --deps-only --with-test
- name: Build
run: opam exec -- dune build --profile release
- name: Upload the build artifact
uses: actions/upload-artifact@v4
with:
path: electrod.exe
name: electrod-${{ matrix.os }}.exe
- name: Release (if tagged)
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: electrod.exe