Skip to content

build TFP0

build TFP0 #14

Workflow file for this run

name: C/C++ CI
on:
push:
#tags:
# - 'v*'
#branches: [ master ]
jobs:
build:
runs-on: self-hosted
strategy:
matrix:
# provider: [TFP0, LIBKRW, LIBKERNRW]
provider: [TFP0, LIBKRW, LIBKERNRW]
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Prepare Theos
uses: und3fined/theos-action@main # Randomblock1/theos-action@v1
- name: Build package
run: |
cp -rf include/* $THEOS/vendor/include/
rm -f packages/*
cp control.template control
if [[ ${{matrix.provider}} == TFP0 ]]; then
sed -i 's/,{{.depends}}//g' control
USE_TFP0=1 make package FINALPACKAGE=1 THEOS_PACKAGE_SCHEME=rootless
elif [[ ${{matrix.provider}} == LIBKRW ]]; then
sed -i 's/{{.depends}}/libkrw/g' control
USE_LIBKRW=1 make package FINALPACKAGE=1 THEOS_PACKAGE_SCHEME=rootless
elif [[ ${{matrix.provider}} == LIBKERNRW ]]; then
sed -i 's/{{.depends}}/libkernrw0/g' control
USE_LIBKERNRW=1 make package FINALPACKAGE=1 THEOS_PACKAGE_SCHEME=rootless
fi
# env:
# DEVELOPER_DIR=/Applications/Xcode-11.7.app/Contents/Developer
# DEVELOPER_DIR: ${{ secrets.DEVELOPER_DIR_12 }}
- name: Publish artifact
uses: actions/upload-artifact@v2
with:
name: fouldecrypt-${{matrix.provider}}
path: ${{ github.workspace }}/packages/*.deb