forked from erlang/otp
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -425,6 +425,36 @@ jobs: | |
BASE_BRANCH: ${{ env.BASE_BRANCH }} | ||
TYPE: ${{ matrix.type }} | ||
|
||
freebsd: | ||
name: Build Erlang/OTP (FreeBSD) | ||
runs-on: ubuntu-latest | ||
needs: pack | ||
if: needs.pack.outputs.c-code-changes | ||
steps: | ||
- name: Download source archive | ||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # ratchet:actions/[email protected] | ||
with: | ||
name: otp_prebuilt | ||
- name: Build on FreeBSD | ||
uses: vmactions/freebsd-vm@848dac7e118679d08e2c2f9d42cd96608d834323 # ratchet:vmactions/freebsd-vm@v1 | ||
with: | ||
usesh: true | ||
copyback: false | ||
prepare: | | ||
pkg update | ||
pkg upgrade | ||
pkg install -y bash gmake gtar autoconf ncurses pkgconf | ||
run: | | ||
tar -xzf ./otp_src.tar.gz | ||
cd otp | ||
export ERL_TOP=`pwd` | ||
export MAKEFLAGS=-j$(($(nproc) + 2)) | ||
export ERLC_USE_SERVER=true | ||
export ERTS_SKIP_DEPEND=true | ||
./configure | ||
gmake | ||
documentation: | ||
name: Build and check documentation | ||
runs-on: ubuntu-latest | ||
|