magic/.github/workflows/main.yml

27 lines
797 B
YAML

name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
simple_build_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Get Dependencies
run: |
sudo apt-get update
# tcl/tk + cairo for the build; texlive (latex + dvips) so the default
# "make" also regenerates the PostScript documentation. Docs are
# best-effort — a missing texlive package just falls back to the
# pre-built PostScript, it does not fail the build.
sudo apt-get install -y tcl-dev tk-dev libcairo-dev \
texlive-latex-base texlive-latex-recommended texlive-fonts-recommended
- name: Build
run: |
./configure
make database/database.h
make -j$(nproc)