2024-01-12 20:13:50 +00:00
|
|
|
name: Compile Cytoplasm
|
|
|
|
run-name: Compile Cytoplasm on ${{ gitea.actor }}
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
2024-01-12 20:59:51 +00:00
|
|
|
"Compile Cytoplasm":
|
2024-01-12 20:54:55 +00:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2024-01-12 20:59:51 +00:00
|
|
|
# TODO: Add more operating systems and architectures
|
2024-01-12 22:52:41 +00:00
|
|
|
#
|
|
|
|
# Required packages for Alpine: git go nodejs make gcc openssl-dev
|
|
|
|
# Required packages for Debian: git golang nodejs make gcc libssl-dev
|
|
|
|
#
|
|
|
|
# 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>
|
2024-01-12 22:58:13 +00:00
|
|
|
os: [debian-v12.4, alpine-v3.19]
|
2024-01-12 20:54:55 +00:00
|
|
|
arch: [x86, x86_64]
|
|
|
|
runs-on: ["${{ matrix.os }}", "${{ matrix.arch }}"]
|
2024-01-12 20:13:50 +00:00
|
|
|
steps:
|
2024-01-12 20:59:51 +00:00
|
|
|
- name: Check out repository
|
2024-01-12 20:13:50 +00:00
|
|
|
uses: actions/checkout@v3
|
2024-01-12 20:59:51 +00:00
|
|
|
- name: Configure Cytoplasm
|
|
|
|
run: ./configure
|
|
|
|
- name: Build Cytoplasm
|
2024-01-12 20:13:50 +00:00
|
|
|
run: make
|