Skip to content

Commit

Permalink
Fix test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
lpgauth authored and tokenrove committed Oct 26, 2023
1 parent 43c807e commit b6f1578
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/erlang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ jobs:
strategy:
matrix:
erlang: [23, 24, 25, 26]
implementation: [rdrand, xorshift, pcg32]

container:
image: erlang:${{ matrix.erlang }}
Expand All @@ -17,6 +18,12 @@ jobs:
sed -i "/^# deb.*universe/ s/^# //" /etc/apt/sources.list
apt update
apt -y install libgsl-dev
- name: Compile
run: rebar3 as test compile
env:
IMPLEMENTATION: ${{ matrix.implementation }}
- name: Run tests
run: rebar3 as test proper
- name: Install dieharder
run: |
export DIEHARDER_SHA=fe552eab52b1f9aaff282844abf37cffebaff0e9
Expand All @@ -27,10 +34,6 @@ jobs:
./configure --prefix=$GITHUB_WORKSPACE
make
make install
- name: Compile
run: rebar3 as test compile
- name: Run tests
run: rebar3 as test proper
- name: Run dieharder
run: |
PATH=$PATH:$GITHUB_WORKSPACE/bin
Expand Down

0 comments on commit b6f1578

Please sign in to comment.