Skip to content

Commit d939d24

Browse files
Adrian Ibañezclaude
andcommitted
feat: re-enable OTP 28 with updated versions
- OTP 28.3.1 (latest stable, Jan 2026) - Elixir 1.19.5 (proper OTP 28.1+ support) Keeps OTP 27.3.4.2 as secondary build target for compatibility. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 527fde1 commit d939d24

2 files changed

Lines changed: 16 additions & 7 deletions

File tree

.github/config/erlixir-versions.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
{
2-
"_comment": "OTP 28 temporarily disabled - Hex package manager not yet compatible",
32
"erlixir": [
3+
{
4+
"otp-version": "28.3.1",
5+
"elixir-version": "1.19.5",
6+
"erl-opts-description": "somemods",
7+
"erl-opts": "--disable-debugger --disable-year2038 --disable-megaco-flex-scanner-lineno --disable-megaco-reentrant-flex-scanner --without-javac --without-odbc --without-wx --disable-megaco --disable-corba",
8+
"erl-disable-applications": "",
9+
"use-git": false,
10+
"git-repo": "erlang/otp",
11+
"git-ref": "OTP-28.3.1"
12+
},
413
{
514
"otp-version": "27.3.4.2",
615
"elixir-version": "1.18.2",

.github/workflows/Android-Matrix.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ jobs:
179179
env:
180180
ARCH_IDENTIFIER: ${{ matrix.platform.arch_id }}-${{ matrix.platform.android_name }}-${{ matrix.platform.abi }}
181181
# Required by generate_beam_dockerfile even for NIF builds (must match an OTP version from erlixir-versions.json)
182-
OTP_VERSION: '27.3.4.2'
183-
OTP_TAG: OTP-27.3.4.2
182+
OTP_VERSION: '28.3.1'
183+
OTP_TAG: OTP-28.3.1
184184

185185
steps:
186186
- name: Checkout code
@@ -189,8 +189,8 @@ jobs:
189189
- name: Setup Elixir
190190
uses: erlef/setup-beam@v1
191191
with:
192-
otp-version: 27.3.4.2
193-
elixir-version: 1.18.2
192+
otp-version: 28.3.1
193+
elixir-version: 1.19.5
194194

195195
- name: Login to GitHub Container Registry
196196
uses: docker/login-action@v3
@@ -201,14 +201,14 @@ jobs:
201201

202202
- name: Pull BEAM Docker image
203203
run: |
204+
docker pull ghcr.io/${{ github.repository_owner }}/android_beam:arch_${{ env.ARCH_IDENTIFIER }}-28.3.1 || \
204205
docker pull ghcr.io/${{ github.repository_owner }}/android_beam:arch_${{ env.ARCH_IDENTIFIER }}-27.3.4.2 || \
205-
docker pull ghcr.io/${{ github.repository_owner }}/android_beam:arch_${{ env.ARCH_IDENTIFIER }}-28.0.2 || \
206206
echo "Warning: Could not pull BEAM image, NIF build may fail"
207207
208208
- name: Build NIF ${{ matrix.nif.name }}
209209
env:
210210
ARCH: ${{ matrix.platform.arch_id }}
211-
BASE_IMAGE: ghcr.io/${{ github.repository_owner }}/android_beam:arch_${{ env.ARCH_IDENTIFIER }}-27.3.4.2
211+
BASE_IMAGE: ghcr.io/${{ github.repository_owner }}/android_beam:arch_${{ env.ARCH_IDENTIFIER }}-28.3.1
212212
run: |
213213
mix local.hex --force --if-missing
214214
mix local.rebar --force --if-missing

0 commit comments

Comments
 (0)