Skip to content

Commit

Permalink
💚 - Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Roland Peelen committed Nov 9, 2023
1 parent c57a565 commit 8a9b4e5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ppx-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,21 @@ jobs:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
ocaml-compiler: ["5.1"]

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: Install esy
run: yarn global add esy
- uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}

- name: Install Dependencies
run: make install
- name: Run Build
run: yarn build-ppx
run: make build
- name: Upload Build Mac / Linux
if: ${{ matrix.os != 'windows-latest' }}
uses: actions/upload-artifact@v2
Expand Down
15 changes: 6 additions & 9 deletions .github/workflows/ppx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Esy
run: yarn global add esy
- uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: "5.1"
- name: Install Dependencies
run: yarn
- name: Build PPX
run: yarn build-ppx
- name: Build Library
run: yarn build-lib
- name: Run tests
run: yarn test
run: make install
- name: Build
run: make build

0 comments on commit 8a9b4e5

Please sign in to comment.