Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rewrite eradius #241

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/hex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ on:

jobs:
publish:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
container:
image: erlang:23.2.5.0-alpine
image: erlang:26.2-alpine
steps:
- name: Prepare
run: |
apk update
apk --no-cache upgrade
apk --no-cache add gcc git libc-dev libc-utils libgcc linux-headers make bash \
musl-dev musl-utils ncurses-dev pcre2 pkgconf scanelf wget zlib
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: work around for permission issue
run: |
git config --global --add safe.directory /__w/eradius/eradius
- name: Publish to Hex.pm
env:
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}
run: |
rebar3 edoc
rebar3 ex_doc
rebar3 hex publish -r hexpm --yes
22 changes: 19 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,37 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
otp: [22, 23, 24, 25]
otp: [25.3, 26.0, 26.1, 26.2, 27.0-rc3]
container:
image: erlang:${{ matrix.otp }}-alpine
steps:
- name: Prepare
run: |
apk update
apk --no-cache upgrade
apk --no-cache add zstd
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Build
run: rebar3 compile
- name: Run tests
run: |
export ERL_AFLAGS="+pc unicode -enable-feature all"
rebar3 do xref, ct
rebar3 as dialyzer do dialyzer
- name: Tar Test Output
if: ${{ always() }}
run: tar -cf - _build/test/logs/ | zstd -15 -o ct-logs-${{ matrix.otp }}.tar.zst
- name: Archive Test Output
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: test-output-${{ matrix.otp }}
path: ct-logs-${{ matrix.otp }}.tar.xz

slack:
needs: test
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: always()
steps:
- name: Slack notification
Expand Down
Loading
Loading