30 lines
582 B
YAML
30 lines
582 B
YAML
name: Build and Deploy Docs
|
|
|
|
on:
|
|
push:
|
|
branches: ["lisp"]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: home-1
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
tokens: ${{ secrets.GITEA_TOKEN }}
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y meson ninja-build gcc
|
|
|
|
- name: Configure Meson
|
|
run: meson setup build
|
|
|
|
- name: Build project
|
|
run: meson compile -C build
|
|
|
|
- name: Run tests
|
|
run: meson test -C build --print-errorlogs || true
|