Skip to content

Merge tag '1.2.0' into develop #4

Merge tag '1.2.0' into develop

Merge tag '1.2.0' into develop #4

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