Skip to content

Commit

Permalink
Adjust dune build step
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmurphy committed Apr 26, 2024
1 parent 093a4f9 commit 0ef18f7
Showing 1 changed file with 20 additions and 21 deletions.
41 changes: 20 additions & 21 deletions .github/workflows/ppx-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,23 @@ jobs:
name: PR Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install OPAM and OCaml
uses: avsm/setup-ocaml@v1
with:
ocaml-version: 4.12.1 # replace with your desired version
- name: Install Dune
run: |
opam install dune
eval $(opam env)
- name: Install OCaml Dependencies
run: |
cd ppx_src
opam install -y . --deps-only
- name: Install Yarn Dependencies
run: yarn
- name: Build PPX
run: yarn build-ppx
- name: Build Library
run: yarn build-lib
- name: Run tests
run: yarn test
- uses: actions/checkout@v2
- name: Install OPAM and OCaml
uses: avsm/setup-ocaml@v1
with:
ocaml-version: 4.12.1 # replace with your desired version
- name: Install OCaml Dependencies and build
run: |
cd ppx_src
opam install dune
eval $(opam env)
opam install -y . --deps-only
dune build
- name: Install Yarn Dependencies
run: yarn
- name: Build PPX
run: yarn build-ppx
- name: Build Library
run: yarn build-lib
- name: Run tests
run: yarn test

0 comments on commit 0ef18f7

Please sign in to comment.