Yaws-CI #178
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: Yaws-CI | ||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
workflow_dispatch: | ||
jobs: | ||
make-check: | ||
name: Check on OTP versions 23 and newer | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
otp: | ||
- "27.2" | ||
- "27.1" | ||
- "27.0" | ||
- "26.2" | ||
- "26.1" | ||
- "26.0" | ||
- "25.3" | ||
- "25.2" | ||
- "25.1" | ||
- "25.0" | ||
- "24.3" | ||
- "24.2" | ||
- "24.0" | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
- uses: erlef/setup-beam@v1 | ||
with: | ||
otp-version: ${{matrix.otp}} | ||
rebar3-version: [3.23.0, 3.24.0] | ||
version-type: strict | ||
- name: Setup Build | ||
run: | | ||
export DEBIAN_FRONTEND=noninteractive | ||
sudo apt-get update | ||
sudo apt-get -y install autotools-dev build-essential make libpam0g-dev openssl wget curl cadaver #texlive-font-utils | ||
- name: Build Yaws | ||
run: | | ||
autoreconf -vfi | ||
./configure | ||
make all -j4 | ||
- name: Deterministically Build Yaws | ||
run: | | ||
autoreconf -vfi | ||
./configure --enable-deterministic-build --with-source-date-epoch=$EPOCHSECONDS | ||
make all -j4 | ||
make all -j4 | ||
- name: Run test suite | ||
run: | | ||
make check | ||
- name: Compile with rebar3 | ||
run: | | ||
rebar3 compile | ||
# Currently not working steps | ||
# - name: Try document generation | ||
# run: | | ||
# make docs | ||
# - name: Run dialyzer | ||
# run: | | ||
# make dialyzer |