setup-cytoplasm-telodendria/action.yml

37 lines
954 B
YAML
Raw Normal View History

2023-11-02 19:17:31 +00:00
name: Setups Cytoplasm
description: Setup Cytoplasm out
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: |
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
id: compile
2023-11-02 19:17:31 +00:00
shell: bash
run: |
echo Compiling Cytoplasm...
cd Cytoplasm
export CC="${{inputs.compiler}}"
./configure --no-static && make
[ "${{inputs.install}}" = "true" ] && make install