setup-cytoplasm-telodendria/action.yml

37 lines
977 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
2023-11-02 19:46:15 +00:00
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
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
2023-11-02 19:46:15 +00:00
git clone https://git.telodendria.io/Telodendria/${{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...
2023-11-02 19:46:15 +00:00
cd ${{inputs.checkout}}
export CC="${{inputs.compiler}}"
2023-11-02 19:53:27 +00:00
./configure --prefix=/usr --no-static && make
[ "${{inputs.install}}" = "true" ] && make install