setup-cytoplasm-telodendria/action.yml

37 lines
976 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}}"
./configure --no-static && make
2023-11-02 19:50:04 +00:00
[ "${{inputs.install}}" = "true" ] && make DESTDIR=/usr install