diff options
-rw-r--r-- | .github/workflows/ci.yaml | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0598246..fec0033 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -372,3 +372,69 @@ jobs: - name: Check templates run: make check-templates + + check-in-vm: + strategy: + fail-fast: false + matrix: + vm: + - freebsd + suite: + - core-app + - core-apps + - core-autopatch + - core-compat + # Trick GH runners into picking this slower job early. + - ACME=1 c=core-deps + - core-elixir + - core-makedep + - core-misc + - core-plugins + - core-query + - core-upgrade + - asciidoc + - bootstrap + - concuerror + - cover + - c-src + - ct + - dialyzer SET=1 + - dialyzer SET=2 + - dialyzer SET=3 + - dialyzer SET=4 + - edoc + - erlydtl + - escript + - eunit + - proper + - protobuffs + # Trick GH runners into picking this slower job early. + - ACME=1 c=relx + - shell + - sphinx + - triq + - xref + # Don't run tests with CACHE_DEPS or LEGACY. Running them on Linux is + # good enough. + # extra: ['', 'CACHE_DEPS=1', 'LEGACY=1'] + runs-on: ubuntu-latest + steps: + + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Run tests (FreeBSD) + if: matrix.vm == 'freebsd' + uses: vmactions/freebsd-vm@v1 + with: + usesh: true + copyback: false + prepare: | + pkg update + pkg upgrade -y + pkg install -y erlang elixir bash ca_root_nss gmake git libsodium perl5 7-zip + git config --global safe.directory '*' + erl -sname init_cookie -run erlang halt + + run: | + gmake check c=${{ matrix.suite }} -j4 |