Skip to content

Commit

Permalink
Merge pull request #15 from rolandpeelen/ci
Browse files Browse the repository at this point in the history
💚 - Fix CI Build.
  • Loading branch information
Roland Peelen committed Nov 9, 2023
2 parents 8a9b4e5 + dae8874 commit 9f3353c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/ppx-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
name: PPX Build Matrix
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
ocaml-compiler: ["5.1"]
os: [macos-latest, ubuntu-latest]
ocaml-compiler: ["5.1.0"]

runs-on: ${{ matrix.os }}
steps:
Expand All @@ -34,18 +34,10 @@ jobs:
- name: Run Build
run: make build
- name: Upload Build Mac / Linux
if: ${{ matrix.os != 'windows-latest' }}
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.os }}
path: ppx_src/_esy/default/build/default/bin/bin.exe
retention-days: 1
- name: Upload Build Windows
if: ${{ matrix.os == 'windows-latest' }}
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.os }}
path: ppx_src/_esy/default/store/b/*/default/bin/bin.exe
path: _build/default/ppx_src/bin/bin.exe
retention-days: 1

npm-release:
Expand All @@ -67,7 +59,6 @@ jobs:
run: |
mv ubuntu-latest/bin.exe ./ppx-linux.exe
mv macos-latest/bin.exe ./ppx-osx.exe
mv windows-latest/*/default/bin/bin.exe ./ppx-windows.exe
- uses: actions/setup-node@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ppx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v2
- uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: "5.1"
ocaml-compiler: "5.1.0"
- name: Install Dependencies
run: make install
- name: Build
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bs-pancake",
"version": "1.4.0",
"version": "2.0.1",
"license": "BSD-3-Clause",
"scripts": {
"start": "dune build -w",
Expand All @@ -20,8 +20,7 @@
"/ppx",
"/ppx.cmd",
"/ppx-linux.exe",
"/ppx-osx.exe",
"/ppx-windows.exe"
"/ppx-osx.exe"
],
"devDependencies": {
"jest": "^26.5.2"
Expand Down

0 comments on commit 9f3353c

Please sign in to comment.