Skip to content

Yaws-CI

Yaws-CI #178

Workflow file for this run

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]

Check failure on line 38 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / Yaws-CI

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 38, Col: 27): A sequence was not expected
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