Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ jobs:
env:
CI: true
- name: Install esy
run: npm install -g esy
run: npm install -g esy@latest
- name: Install and build PPX dependencies
working-directory: packages/rescript-relay/rescript-relay-ppx
run: esy install
- name: Build PPX
uses: esy/github-action@6863524ed7748e7882e317e31ac2b8b107011744
with:
cache-key: ${{ hashFiles('esy.lock/index.json') }}
working-directory: packages/rescript-relay/rescript-relay-ppx
working-directory: packages/rescript-relay/rescript-relay-ppx
run: esy build
- name: Install
run: |
yarn --frozen-lockfile
Expand Down
15 changes: 6 additions & 9 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,13 @@ jobs:
toolchain: 1.76.0
override: true
- name: Install esy
run: npm install -g esy
- uses: esy/github-action@6863524ed7748e7882e317e31ac2b8b107011744
with:
cache-key: ${{ hashFiles('esy.lock/index.json') }}
working-directory: packages/rescript-relay/rescript-relay-ppx
run: npm install -g esy@latest
- name: Install and build PPX dependencies
working-directory: packages/rescript-relay/rescript-relay-ppx
run: esy install
- name: Build PPX
uses: esy/github-action@6863524ed7748e7882e317e31ac2b8b107011744
with:
cache-key: ${{ hashFiles('esy.lock/index.json') }}
working-directory: packages/rescript-relay/rescript-relay-ppx
working-directory: packages/rescript-relay/rescript-relay-ppx
run: esy build
- name: Install - bindings
working-directory: packages/rescript-relay
run: |
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/ppx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ jobs:

name: PPX
runs-on: ${{ matrix.platform }}
defaults:
run:
working-directory: packages/rescript-relay/rescript-relay-ppx
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -68,15 +71,13 @@ jobs:
env:
CI: true
- name: Install esy
run: npm install -g esy
run: npm install -g esy@latest
- name: Install and build dependencies
run: esy install
- name: Build PPX
uses: esy/github-action@6863524ed7748e7882e317e31ac2b8b107011744
with:
cache-key: ${{ matrix.platform }}-${{ hashFiles('esy.lock/index.json') }}-v3
working-directory: packages/rescript-relay/rescript-relay-ppx
run: esy build
- name: Strip PPX binary
if: runner.os != 'Windows'
working-directory: packages/rescript-relay/rescript-relay-ppx
run: |
strip _build/default/bin/RescriptRelayPpxApp.exe
- name: Upload PPX artifact ${{ matrix.platform }}
Expand Down
Loading