Add a simple CI workflow for compiling Cytoplasm. #27

Merged
jordan merged 12 commits from ci into master 2024-01-13 16:08:45 +00:00
Showing only changes of commit b7e8980a17 - Show all commits

View file

@ -6,20 +6,30 @@ jobs:
"Compile Cytoplasm": "Compile Cytoplasm":
strategy: strategy:
matrix: matrix:
# TODO: Add more operating systems and architectures # TODO: Add more operating systems and architectures.
# #
# Required packages for Alpine: git go nodejs make gcc musl-dev openssl-dev # 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 Debian: git golang nodejs make gcc libssl-dev
# Required packages for OpenBSD: git go node # 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, # Note that Git, Go, and Node are only required on runners; they are
# do a go build, ./act_runner register, then ./act_runner daemon. # not generally required for compiling cytoplasm.
#
# To set up a runner, install the packages, then clone
# https://git.telodendria.io/Telodendria/act_runner, do a go build,
# execute ./act_runner register, then execute ./act_runner daemon.
# #
# For Linux distros, set the tags: linux, <distro>-<version>, <arch> # For Linux distros, set the tags: linux, <distro>-<version>, <arch>
# For BSDs, set the tags: bsd, <os>-<version>, <arch> # For BSDs, set the tags: bsd, <os>-<version>, <arch>
os: [debian-v12.4, alpine-v3.19, openbsd-v7.4] os: [debian-v12.4, alpine-v3.19, openbsd-v7.4]
arch: [x86, x86_64] arch: [x86, x86_64]
exclude:
# 32-bit OpenBSD does not behave well in QEMU. Even when using
# QEMU to emulate i386, it utilizes 100% of its CPU core and is
# still extremely sluggish. Thus, we don't have a working 32-bit
# OpenBSD runner, so exclude it from the matrix configuration.
- os: openbsd-v7.4
arch: x86
runs-on: ["${{ matrix.os }}", "${{ matrix.arch }}"] runs-on: ["${{ matrix.os }}", "${{ matrix.arch }}"]
steps: steps:
- name: Check out repository - name: Check out repository