setup-cytoplasm-telodendria/action.yml
2023-11-02 15:53:27 -04:00

36 lines
977 B
YAML

name: Setups Cytoplasm
description: Setup Cytoplasm out
inputs:
checkout:
description: Link to checkout from
required: false
default: 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
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 https://git.telodendria.io/Telodendria/${{inputs.checkout}}
- name: Compiling Cytoplasm
id: compile
shell: bash
run: |
echo Compiling Cytoplasm...
cd ${{inputs.checkout}}
export CC="${{inputs.compiler}}"
./configure --prefix=/usr --no-static && make
[ "${{inputs.install}}" = "true" ] && make install