telodendria/.gitea/workflows/test-push.yaml

37 lines
1.1 KiB
YAML
Raw Normal View History

name: Testing pushed commits
run-name: "Testing pushed changes (HEAD@${{ github.head_ref }}) on ${{ runner.os }}"
on: [push]
jobs:
# Compiles out everything.
2023-11-02 19:06:45 +00:00
compile-all:
# TODO: More architectures
runs-on: debian
steps:
# Checks out Telodendria, and setups a basic build environment.
- name: Checking out Telodendria
2023-11-02 17:35:20 +00:00
uses: actions/checkout@v4
2023-11-02 19:06:45 +00:00
- name: Setup build environment
2023-11-02 19:06:45 +00:00
uses: https://git.telodendria.io/lda/setup-buildenv@master
2023-11-02 16:37:31 +00:00
with:
compiler: gcc
ssl: openssl
# Then, compile out Cytoplasm
2023-11-02 19:22:08 +00:00
- name: Compiles Cytoplasm
uses: https://git.telodendria.io/lda/setup-cytoplasm-telodendria@master
with:
compiler: gcc
install: true
# Finally, builds out Telodendria with everything.
- name: Compiles Telodendria
uses: https://git.telodendria.io/lda/setup-cytoplasm-telodendria@master
with:
compiler: gcc
2023-11-02 19:47:04 +00:00
checkout: Telodendria
install: false
2023-11-02 19:47:04 +00:00
# TODO: Make (eventually) a static build out to deploy?