From 289dcd4ec2d578920c2d2a999cfb94d17b73ee19 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 28 May 2024 13:58:37 +0200 Subject: [PATCH] [CI] Add workflow for building kext in CI --- .github/workflows/kext.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/kext.yml diff --git a/.github/workflows/kext.yml b/.github/workflows/kext.yml new file mode 100644 index 00000000..6ccdee66 --- /dev/null +++ b/.github/workflows/kext.yml @@ -0,0 +1,36 @@ +name: Windows Kernel Extension + +on: + push: + paths: + - 'windows_kext/**' + branches: + - master + - develop + + pull_request: + paths: + - 'windows_kext/**' + branches: + - master + - develop + +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - uses: earthly/actions-setup@v1 + with: + version: v0.8.0 + - uses: actions/checkout@v4 + + - name: Log in to the Container registry + uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Build Kernel Extension + run: earthly --ci --remote-cache=ghcr.io/safing/build-cache --push +kext-build