Cytoplasm/.gitea/workflows/compile.yaml

31 lines
1.3 KiB
YAML

name: Compile Cytoplasm
run-name: Compile Cytoplasm on ${{ gitea.actor }}
on: [push]
jobs:
"Compile Cytoplasm":
strategy:
matrix:
# TODO: Add more operating systems and architectures
#
# Required packages for Alpine: git go nodejs make gcc musl-dev openssl-dev
# Required packages for Debian: git golang nodejs make gcc libssl-dev
# Required packages for OpenBSD: git go node
# (Note: OpenBSD does not have a 32-bit runner because it doesn't do well in QEMU.)
#
# Then clone https://git.telodendria.io/Telodendria/act_runner,
# do a go build, ./act_runner register, then ./act_runner daemon.
#
# For Linux distros, set the tags: linux, <distro>-<version>, <arch>
# For BSDs, set the tags: bsd, <os>-<version>, <arch>
os: [debian-v12.4, alpine-v3.19, openbsd-v7.4]
arch: [x86, x86_64]
runs-on: ["${{ matrix.os }}", "${{ matrix.arch }}"]
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Configure Cytoplasm
run: ./configure
- name: Build Cytoplasm
run: make