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
22 changes: 15 additions & 7 deletions .github/workflows/ppx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,28 @@ on:

jobs:
ppx_linux:
strategy:
matrix:
platform: [ubuntu-latest]

name: PPX Linux
runs-on: ${{ matrix.platform }}
runs-on: ubuntu-latest
container:
image: debian:bullseye
steps:
- name: Install system dependencies
run: |
apt-get update
apt-get install -y --no-install-recommends \
build-essential \
curl \
ca-certificates \
git \
unzip \
bubblewrap
- uses: actions/checkout@v4
- name: Set up OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "4.14"
dune-cache: true
cache-prefix: "v1"
cache-prefix: "v2-bullseye"
- name: Install dependencies
working-directory: packages/rescript-relay/rescript-relay-ppx
run: opam install . --deps-only
Expand All @@ -38,7 +46,7 @@ jobs:
- name: Upload PPX artifact
uses: actions/upload-artifact@v4
with:
name: ppx-${{ matrix.platform }}
name: ppx-linux
path: packages/rescript-relay/rescript-relay-ppx/ppx-*
if-no-files-found: error

Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# master

- Build Linux PPX binary in Debian 11 (bullseye) container to improve compatibility with older glibc versions. The binary now requires glibc 2.31 instead of 2.39, supporting Amazon Linux 2023 (Vercel), Ubuntu 20.04+, Debian 11+, and RHEL 9+.

# 3.5.0

- Move underlying Relay compiler version to `20.1.1`.
Expand Down