From 8a9b4e5cd50d3677dbae2b88b5e0b7abab507503 Mon Sep 17 00:00:00 2001 From: Roland Peelen Date: Thu, 9 Nov 2023 01:31:41 +0100 Subject: [PATCH] :green_heart: - Fix ci --- .github/workflows/ppx-push.yaml | 12 +++++++++--- .github/workflows/ppx.yaml | 15 ++++++--------- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ppx-push.yaml b/.github/workflows/ppx-push.yaml index 2c8b179..b67606d 100644 --- a/.github/workflows/ppx-push.yaml +++ b/.github/workflows/ppx-push.yaml @@ -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 diff --git a/.github/workflows/ppx.yaml b/.github/workflows/ppx.yaml index c1969c6..b0ac049 100644 --- a/.github/workflows/ppx.yaml +++ b/.github/workflows/ppx.yaml @@ -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