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

cleanup workflow #6

Merged
merged 1 commit into from
Nov 20, 2023
Merged
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
1 change: 0 additions & 1 deletion .github/actions/msvc-dev-cmd
Submodule msvc-dev-cmd deleted from 9f8ae8
1 change: 0 additions & 1 deletion .github/actions/setup-beam
Submodule setup-beam deleted from c255c7
1 change: 0 additions & 1 deletion .github/actions/tmate
Submodule tmate deleted from 80a9fa
57 changes: 3 additions & 54 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ permissions:
contents: read

jobs:

otp_fdb_matrix:
eunit:
strategy:
matrix:
otp-version: ['24', '25']
Expand All @@ -22,19 +21,17 @@ jobs:
DEBUG: 0
# Set to 1 for even more verbose rebar3 logging
DIAGNOSTIC: 0
ImageOS: ubuntu20
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
persist-credentials: false
submodules: recursive
- name: Setup Erlang
uses: ./.github/actions/setup-beam
uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp-version }}
rebar3-version: '3.17'
ImageOS: ubuntu20
ImageOS: ubuntu22
- name: Install FoundationDB
run: |
wget https://github.com/apple/foundationdb/releases/download/${FDB_VERSION}/foundationdb-clients_${FDB_VERSION}-1_amd64.deb
Expand All @@ -45,54 +42,6 @@ jobs:
run: rebar3 compile
- name: EUnit tests
run: rebar3 eunit
- name: Setup tmate session on job failure
uses: ./.github/actions/tmate
if: ${{ failure() }}
with:
limit-access-to-actor: true

os_fdb_matrix:
strategy:
matrix:
fdb-version: ['7.1.43']
runs-on: ubuntu-latest
env:
FDB_VERSION: ${{ matrix.fdb-version }}
# This profile uses the FDB server started in the "Install FoundationDB" step
# instead of starting another one (the code that manages the "local" FDB in the
# test suite is not designed with x-platform compatibility in mind)
REBAR_PROFILE: devcontainer
# Set to 1 for verbose rebar3 logging
DEBUG: 0
# Set to 1 for even more verbose rebar3 logging
DIAGNOSTIC: 0
ImageOS: ubuntu20
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
persist-credentials: false
submodules: recursive
- name: Setup Erlang
uses: ./.github/actions/setup-beam
with:
otp-version: '25'
rebar3-version: '3.17'
- name: Install FoundationDB
run: |
wget https://github.com/apple/foundationdb/releases/download/${FDB_VERSION}/foundationdb-clients_${FDB_VERSION}-1_amd64.deb
wget https://github.com/apple/foundationdb/releases/download/${FDB_VERSION}/foundationdb-server_${FDB_VERSION}-1_amd64.deb
sudo dpkg -i foundationdb-clients_${FDB_VERSION}-1_amd64.deb
sudo dpkg -i foundationdb-server_${FDB_VERSION}-1_amd64.deb
- name: Compile
run: rebar3 compile
- name: EUnit tests
run: rebar3 eunit
- name: Setup tmate session on job failure
uses: ./.github/actions/tmate
if: ${{ failure() }}
with:
limit-access-to-actor: true

binding_tester:
runs-on: ubuntu-latest
Expand Down
9 changes: 0 additions & 9 deletions .gitmodules

This file was deleted.

Loading