Skip to content

Commit

Permalink
Setup GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhduytran0 authored Mar 2, 2024
1 parent c3f9d15 commit 5f387a6
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5f387a6

Please sign in to comment.