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

Fix test_gc on OTP26 on Linux using official docker image #648

Merged
merged 1 commit into from
Jun 26, 2023
Merged
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
12 changes: 10 additions & 2 deletions .github/workflows/run-tests-with-beam.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ on:
jobs:
run-tests:
runs-on: ${{ matrix.os }}
container: ${{ matrix.container }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -50,6 +51,7 @@ jobs:
- os: "ubuntu-22.04"
test_erlang_opts: "-s prime_smp"
otp: "26"
container: erlang:26

- os: "macos-latest"
otp: "23"
Expand All @@ -73,16 +75,22 @@ jobs:
submodules: 'recursive'

- uses: erlef/setup-beam@v1
if: runner.os == 'Linux'
if: runner.os == 'Linux' && matrix.container == ''
with:
otp-version: ${{ matrix.otp }}

- name: "Install deps (Linux)"
if: runner.os == 'Linux'
if: runner.os == 'Linux' && matrix.container == ''
run: |
sudo apt update -y
sudo apt install -y cmake gperf zlib1g-dev ninja-build

- name: "Install deps (container)"
if: runner.os == 'Linux' && matrix.container != ''
run: |
apt update -y
apt install -y cmake gperf zlib1g-dev ninja-build

- name: "Install deps (macOS)"
if: runner.os == 'macOS'
run: brew install gperf erlang@${{ matrix.otp }} ninja
Expand Down
Loading