aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorTyler Hughes <[email protected]>2023-05-12 21:58:37 +0100
committerLoïc Hoguin <[email protected]>2025-03-17 15:23:40 +0100
commit39160fbf248ae6576e87847d9c33659190a476e6 (patch)
treed90d838214fe9d6013b540ede37687dc48260c47 /.github
parent3f7955bad270767f87272f1066ecb0a7ae0c7914 (diff)
downloaderlang.mk-39160fbf248ae6576e87847d9c33659190a476e6.tar.gz
erlang.mk-39160fbf248ae6576e87847d9c33659190a476e6.tar.bz2
erlang.mk-39160fbf248ae6576e87847d9c33659190a476e6.zip
Native Elixir support
This commit also includes a way to completely disable Eunit as that is generally desirable for Elixir-only projects.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yaml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 36325fe..0ff2e4d 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -20,6 +20,8 @@ jobs:
matrix:
erlang:
- '27'
+ elixir:
+ - '1.17'
os:
# - macos-latest
- ubuntu-latest
@@ -31,6 +33,7 @@ jobs:
- core-compat
# Trick GH runners into picking this slower job early.
- ACME=1 c=core-deps
+ - core-elixir
- core-makedep
- core-misc
- core-plugins
@@ -78,6 +81,7 @@ jobs:
uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.erlang }}
+ elixir-version: ${{ matrix.elixir }}
version-type: loose
- name: Setup MSYS2 (Windows)
@@ -94,6 +98,10 @@ jobs:
gnu-netcat
diffutils
+ - name: Install libsodium (Linux, Elixir)
+ if: matrix.os == 'ubuntu-latest' && matrix.suite == 'core-elixir'
+ run: sudo apt-get -y install libsodium-dev
+
- name: Run tests (Linux)
if: matrix.os == 'ubuntu-latest'
run: make check c=${{ matrix.suite }} -j4 -k ${{ matrix.extra }}
@@ -143,7 +151,7 @@ jobs:
uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.erlang }}
- elixir-version: 1.18
+ elixir-version: '1.18'
version-type: loose
- name: Setup MSYS2 (Windows)