From 39160fbf248ae6576e87847d9c33659190a476e6 Mon Sep 17 00:00:00 2001 From: Tyler Hughes Date: Fri, 12 May 2023 21:58:37 +0100 Subject: Native Elixir support This commit also includes a way to completely disable Eunit as that is generally desirable for Elixir-only projects. --- .github/workflows/ci.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to '.github') 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) -- cgit v1.2.3