Skip to content

Commit

Permalink
Merge pull request #1392 from stan-dev/issue-1391
Browse files Browse the repository at this point in the history
build linux binary with static profile
  • Loading branch information
WardBrian authored Jan 5, 2024
2 parents 8f2dbe7 + f0d34ba commit b61c060
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,13 @@ jobs:

- run: bash -x scripts/install_build_deps.sh

- name: Build
run: |
opam exec -- dune subst
opam exec -- dune build
- name: Build macos
if: matrix.os == 'macos'
run: opam exec -- dune subst; opam exec -- dune build

- name: Build ubuntu
if: matrix.os == 'ubuntu'
run: opam exec -- dune subst; opam exec -- dune build --profile static

- run: mv _build/default/src/stanc/stanc.exe ${{ matrix.os }}-stanc

Expand Down

0 comments on commit b61c060

Please sign in to comment.