v1.8.5 #698
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: Erlang CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
erlang_version: | |
- "26" | |
- "27" | |
steps: | |
- name: Clone the repository | |
uses: actions/checkout@v2 | |
- name: Set up Erlang/OTP | |
uses: erlef/setup-beam@v1 | |
with: | |
otp-version: ${{ matrix.erlang_version }} | |
- name: Build | |
run: make | |
- name: Run tests | |
run: make check | |
build-bazel: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
otp_major: | |
- "26" | |
steps: | |
- name: Clone the repository | |
uses: actions/checkout@v2 | |
- name: Run tests | |
run: | | |
bazelisk test //... --config=rbe-${{ matrix.otp_major }} |