fix(build): turn c_src dependencies into git submodules #264
Workflow file for this run
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: Test | |
on: | |
- push | |
- pull_request | |
- workflow_dispatch | |
jobs: | |
mac: | |
strategy: | |
fail-fast: false | |
matrix: | |
otp: | |
- 26.1.2-1 | |
os: | |
- macos-14 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: ./.github/actions/macos-erlang | |
with: | |
otp: ${{ matrix.otp }} | |
os: ${{ matrix.os }} | |
- run: | | |
. $HOME/.kerl/${{ matrix.otp }}/activate | |
./build.sh | |
rebar3 eunit | |
linux: | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
builder: | |
- 5.3-8 | |
otp: | |
- 26.2.5-2 | |
elixir: | |
- 1.15.7 | |
os: | |
- ubuntu24.04 | |
container: ghcr.io/emqx/emqx-builder/${{ matrix.builder }}:${{ matrix.elixir }}-${{ matrix.otp }}-${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- run: git config --global --add safe.directory $GITHUB_WORKSPACE | |
- run: ./build.sh | |
- run: rebar3 eunit |