2023-11-02 16:24:55 +00:00
|
|
|
name: Testing pushed commits
|
|
|
|
run-name: "Testing pushed changes (HEAD@${{ github.head_ref }}) on ${{ runner.os }}"
|
2023-11-03 11:11:18 +00:00
|
|
|
on: [push, pull]
|
2023-11-02 16:24:55 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
# Compiles out everything.
|
2023-11-02 19:06:45 +00:00
|
|
|
compile-all:
|
2023-11-02 16:24:55 +00:00
|
|
|
# TODO: More architectures
|
2023-11-02 17:14:15 +00:00
|
|
|
runs-on: debian
|
2023-11-02 16:24:55 +00:00
|
|
|
steps:
|
2023-11-02 17:29:33 +00:00
|
|
|
# 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
|
|
|
|
2023-11-02 16:24:55 +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
|
2023-11-02 19:43:16 +00:00
|
|
|
|
|
|
|
# Then, compile out Cytoplasm
|
2023-11-02 19:22:08 +00:00
|
|
|
- name: Compiles Cytoplasm
|
2023-11-02 19:43:16 +00:00
|
|
|
uses: https://git.telodendria.io/lda/setup-cytoplasm-telodendria@master
|
|
|
|
with:
|
|
|
|
compiler: gcc
|
|
|
|
install: true
|
2023-11-02 16:24:55 +00:00
|
|
|
|
|
|
|
# Finally, builds out Telodendria with everything.
|
2023-11-02 19:43:16 +00:00
|
|
|
- name: Compiles Telodendria
|
|
|
|
uses: https://git.telodendria.io/lda/setup-cytoplasm-telodendria@master
|
|
|
|
with:
|
|
|
|
compiler: gcc
|
2023-11-03 11:11:18 +00:00
|
|
|
to_install: Telodendria
|
2023-11-02 19:47:04 +00:00
|
|
|
install: false
|
2023-11-02 16:24:55 +00:00
|
|
|
|
2023-11-02 19:47:04 +00:00
|
|
|
# TODO: Make (eventually) a static build out to deploy?
|