Skip to content

Commit

Permalink
Try to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
WardBrian committed Jan 2, 2025
1 parent 02eb5ec commit 6c73a2e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ jobs:
echo "SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX${{matrix.sdk}}.sdk/" >> $GITHUB_ENV
- name: Use OCaml ${{ env.OCAML_VERSION }}
uses: ocaml/setup-ocaml@v2
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ env.OCAML_VERSION }}
dune-cache: true

- if: matrix.name == 'macos-x86_64'
run: opam pin -y dune 3.6.0 --no-action
Expand Down Expand Up @@ -72,10 +73,10 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: macos-*-stanc
merge-multiple: true

- name: Run lipo
run: lipo -create -output macos-stanc macos-*-stanc
run: ls && lipo -create -output macos-stanc macos-*-stanc

- name: Upload macos-stanc
uses: actions/upload-artifact@v4
Expand All @@ -94,9 +95,10 @@ jobs:
run: sudo apt-get update; sudo apt-get install -y gcc-mingw-w64-x86-64

- name: Use OCaml ${{ env.OCAML_VERSION }}
uses: ocaml/setup-ocaml@v2
uses: ocaml/setup-ocaml@v3
with:
cache-prefix: v1-windows
dune-cache: true
ocaml-compiler: ocaml-windows64.${{ env.OCAML_VERSION }}
opam-repositories: |
windows: http://github.com/ocaml-cross/opam-cross-windows.git
Expand Down

0 comments on commit 6c73a2e

Please sign in to comment.