add ok return type #121
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: OTP Test Suites | |
on: | |
workflow_dispatch: | |
push: | |
jobs: | |
build_and_test: | |
name: Build and test on Erlang/OTP ${{matrix.otp}} and rebar3 ${{matrix.rebar3}} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
otp: ['24.3'] | |
rebar3: ['3.20'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install OTP and rebar3 | |
uses: erlef/setup-beam@v1 | |
with: | |
otp-version: ${{matrix.otp}} | |
rebar3-version: ${{matrix.rebar3}} | |
- name: Install build dependency | |
run: | | |
sudo apt-get update | |
sudo apt-get -y install libssl-dev | |
- name: Start epmd | |
run: epmd -daemon | |
- name: Build and test | |
run: make otp-test |