aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2025-03-19 12:27:02 +0100
committerLoïc Hoguin <[email protected]>2025-03-20 12:40:51 +0100
commite13b4c71d764cc92a1e5a92f5f2dd1c1f59b4a3c (patch)
tree4f450882a1a25339b58ff70905522f4f04ff61d5 /.github
parent9f43c7fdbf0ae84a173be112c1c6a712ddde28c7 (diff)
downloaderlang.mk-master.tar.gz
erlang.mk-master.tar.bz2
erlang.mk-master.zip
Properly handle asdf-installed ElixirHEADmaster
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 0ff2e4d..2c8c3b6 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -119,6 +119,33 @@ jobs:
path: |
test/test_*/
+ check-asdf-elixir:
+ runs-on: ubuntu-latest
+ steps:
+
+ - name: Checkout repository
+ uses: actions/checkout@v4
+
+ - name: Install Erlang/OTP
+ uses: erlef/setup-beam@v1
+ with:
+ otp-version: 27
+ version-type: loose
+
+ - name: Install asdf along with Elixir
+ run: |
+ wget https://github.com/asdf-vm/asdf/releases/download/v0.16.5/asdf-v0.16.5-linux-amd64.tar.gz
+ tar xf asdf-v*-linux-amd64.tar.gz
+ ./asdf plugin add elixir
+ ./asdf install elixir latest
+ ./asdf set elixir latest
+
+ - name: Install libsodium
+ run: sudo apt-get -y install libsodium-dev
+
+ - name: Run tests
+ run: make check c=core-elixir -j4 -k PATH=$PWD:/home/runner/.asdf/shims:$PATH
+
check-hex:
strategy:
fail-fast: false