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 ${{inputs.checkout}} id: compile shell: bash run: | echo Compiling ${{inputs.checkout}}... cd ${{inputs.checkout}} export CC="${{inputs.compiler}}" if ./configure --prefix=/usr --no-static && make; then echo "Built ${{inputs.checkout}} properly" else # Fails? Do it again. ./configure --prefix=/usr --no-static && make fi [ "${{inputs.install}}" = "true" ] && make install