2023-11-02 19:17:31 +00:00
|
|
|
name: Setups Cytoplasm
|
|
|
|
description: Setup Cytoplasm out
|
|
|
|
|
2023-11-02 19:41:03 +00:00
|
|
|
inputs:
|
|
|
|
checkout:
|
|
|
|
description: Link to checkout from
|
|
|
|
required: false
|
|
|
|
default: https://git.telodendria.io/Telodendria/Cytoplasm
|
|
|
|
compiler:
|
|
|
|
description: Compiler to use as CC
|
|
|
|
required: false
|
|
|
|
default: gcc
|
|
|
|
install:
|
|
|
|
description: Whenever to make install or not.(true/false)
|
|
|
|
required: false
|
|
|
|
default: true
|
|
|
|
|
2023-11-02 19:17:31 +00:00
|
|
|
runs:
|
|
|
|
using: composite
|
|
|
|
steps:
|
|
|
|
- name: Downloading Cytoplasm
|
|
|
|
id: download-cyto
|
|
|
|
shell: bash
|
|
|
|
run: |
|
2023-11-02 19:41:03 +00:00
|
|
|
echo Downloading from "${{inputs.checkout}}"..
|
|
|
|
echo We are on "${{runner.os}}", requested as CC
|
|
|
|
git clone "${{inputs.checkout}}"
|
2023-11-02 19:17:31 +00:00
|
|
|
- name: Compiling Cytoplasm
|
2023-11-02 19:41:03 +00:00
|
|
|
id: compile
|
2023-11-02 19:17:31 +00:00
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
echo Compiling Cytoplasm...
|
|
|
|
cd Cytoplasm
|
2023-11-02 19:41:03 +00:00
|
|
|
export CC="${{inputs.compiler}}"
|
|
|
|
./configure --no-static && make
|
|
|
|
[ "${{inputs.install}}" = "true" ] && make install
|