forked from Telodendria/Telodendria
Compare commits
No commits in common. "49decbf80f8984934861fe0cf49865e2dc8ce0a7" and "29a298efe273426b2dcf4d5fa1134b25a6a89f24" have entirely different histories.
49decbf80f
...
29a298efe2
9 changed files with 33 additions and 72 deletions
|
@ -1,27 +0,0 @@
|
||||||
name: Compile Telodendria
|
|
||||||
run-name: Compile Telodendria on ${{ forgejo.actor }}
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- 'ma*'
|
|
||||||
pull_request:
|
|
||||||
types: [opened, synchronize, reopened]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
"Compile Telodendria":
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
os: [alpine]
|
|
||||||
arch: [aarch64]
|
|
||||||
runs-on: ["${{ matrix.os }}", "${{ matrix.arch }}"]
|
|
||||||
steps:
|
|
||||||
- name: Check out repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
submodules: true
|
|
||||||
- name: Configure Telodendria
|
|
||||||
run: ./configure
|
|
||||||
- name: Configure & Build Cytoplasm
|
|
||||||
run: make cytoplasm
|
|
||||||
- name: Build Telodendria
|
|
||||||
run: make
|
|
|
@ -1,44 +0,0 @@
|
||||||
name: Release Telodendria
|
|
||||||
run-name: Release Telodendria on ${{ forgejo.actor }}
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- 'v*'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
"Release Telodendria":
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
os: [alpine]
|
|
||||||
arch: [aarch64]
|
|
||||||
runs-on: ["${{ matrix.os }}", "${{ matrix.arch }}"]
|
|
||||||
steps:
|
|
||||||
- name: Check out repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
submodules: true
|
|
||||||
- name: Archive submodules
|
|
||||||
run: git submodule foreach --recursive 'git archive --format tar --prefix=$displaypath/ -o submodule.tar HEAD'
|
|
||||||
- name: Archive repository
|
|
||||||
run: git archive --format tar -o release.tar HEAD
|
|
||||||
- name: Produce release archive
|
|
||||||
run: |
|
|
||||||
TOPDIR=$(pwd) git submodule --quiet foreach --recursive 'cd $TOPDIR; tar --concatenate --file=release.tar $displaypath/submodule.tar; rm -fv $displaypath/submodule.tar'
|
|
||||||
gzip release.tar
|
|
||||||
mkdir release
|
|
||||||
mv release.tar.gz release/Telodendria-$GITHUB_REF_NAME.tar.gz
|
|
||||||
- name: Upload artifact
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: Telodendria-$GITHUB_REF_NAME.tar.gz
|
|
||||||
path: release/Telodendria-$GITHUB_REF_NAME.tar.gz
|
|
||||||
- name: Publish release
|
|
||||||
uses: actions/forgejo-release@v2
|
|
||||||
with:
|
|
||||||
tag: $GITHUB_REF_NAME
|
|
||||||
title: "Telodendria $GITHUB_REF_NAME"
|
|
||||||
release-dir: release/
|
|
||||||
release-notes: "docs/CHANGELOG.md"
|
|
||||||
direction: upload
|
|
||||||
prerelease: true
|
|
29
.gitea/workflows/compile.yaml
Normal file
29
.gitea/workflows/compile.yaml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
name: Compile Telodendria
|
||||||
|
run-name: Compile Telodendria on ${{ gitea.actor }}
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
"Compile Telodendria":
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [debian-v12.4, alpine-v3.19, openbsd-v7.4, freebsd-v14.0, netbsd-v9.3]
|
||||||
|
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 }}"]
|
||||||
|
steps:
|
||||||
|
- name: Check out repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
- name: Configure Telodendria
|
||||||
|
run: ./configure
|
||||||
|
- name: Configure & Build Cytoplasm
|
||||||
|
run: make cytoplasm
|
||||||
|
- name: Build Telodendria
|
||||||
|
run: make
|
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "Cytoplasm"]
|
||||||
|
path = Cytoplasm
|
||||||
|
url = https://git.telodendria.io/Telodendria/Cytoplasm.git
|
2
configure
vendored
2
configure
vendored
|
@ -34,7 +34,7 @@ case "$(uname)" in
|
||||||
# These systems typically use GCC.
|
# These systems typically use GCC.
|
||||||
SCRIPT_ARGS="${SCRIPT_ARGS} --cc=gcc"
|
SCRIPT_ARGS="${SCRIPT_ARGS} --cc=gcc"
|
||||||
;;
|
;;
|
||||||
OpenBSD|FreeBSD|Darwin)
|
OpenBSD|FreeBSD)
|
||||||
# These systems typically use Clang.
|
# These systems typically use Clang.
|
||||||
SCRIPT_ARGS="${SCRIPT_ARGS} --cc=clang"
|
SCRIPT_ARGS="${SCRIPT_ARGS} --cc=clang"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue