diff --git a/.github/workflows/ppx.yml b/.github/workflows/ppx.yml index 096f319b..0155db8c 100644 --- a/.github/workflows/ppx.yml +++ b/.github/workflows/ppx.yml @@ -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 @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index cc2f010c..a25e1a22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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`.