blob: 5356f3e392069f9c988a96f00630efd3e11e51de [file] [log] [blame]
name: Linux
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "trunk" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
strategy:
matrix:
os: [ "ubuntu-20.04", "ubuntu-22.04" ]
runs-on: ${{ matrix.os }}
steps:
- name: Install prerequisites
run: |
sudo apt-get update
sudo apt-get install scons libapr1 libapr1-dev libaprutil1 libaprutil1-dev zlib1g zlib1g-dev libssl-dev
- uses: actions/checkout@v3
- name: Build
run: scons
- name: Check
run: scons check