diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..265c806 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,32 @@ +name: Theos CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: macos-latest + + steps: + - uses: actions/checkout@v3 + + - name: Prepare Theos + # Don't use @main in production, this repo is specifically for testing it. + uses: Randomblock1/theos-action@v1 + + - name: Build + run: | + make FINALPACKAGE=1 THEOS_PACKAGE_SCHEME=rootful + make FINALPACKAGE=1 THEOS_PACKAGE_SCHEME=rootless + # make FINALPACKAGE=1 THEOS_PACKAGE_SCHEME=roothide + + - name: Upload packages + uses: actions/upload-artifact@v3 + with: + name: packages + path: packages/*.deb +