diff --git a/.github/workflows/angular.yml b/.github/workflows/angular.yml index ee8b30df..5741a8a4 100644 --- a/.github/workflows/angular.yml +++ b/.github/workflows/angular.yml @@ -56,4 +56,4 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Build angular projects - run: earthly --ci --remote-cache=ghcr.io/safing/build-cache --push +angular-release + run: earthly --ci --remote-cache=ghcr.io/safing/build-cache --push +angular-ci diff --git a/.github/workflows/kext.yml b/.github/workflows/kext.yml index 6ccdee66..67089978 100644 --- a/.github/workflows/kext.yml +++ b/.github/workflows/kext.yml @@ -33,4 +33,4 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Build Kernel Extension - run: earthly --ci --remote-cache=ghcr.io/safing/build-cache --push +kext-build + run: earthly --ci --remote-cache=ghcr.io/safing/build-cache --push +kext-ci diff --git a/.github/workflows/tauri.yml b/.github/workflows/tauri.yml index edf804d2..9ae0da99 100644 --- a/.github/workflows/tauri.yml +++ b/.github/workflows/tauri.yml @@ -33,4 +33,4 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Build tauri project - run: earthly --ci --remote-cache=ghcr.io/safing/build-cache --push +tauri-release + run: earthly --ci --remote-cache=ghcr.io/safing/build-cache --push +tauri-ci diff --git a/Earthfile b/Earthfile index f37f88f2..ced85ed9 100644 --- a/Earthfile +++ b/Earthfile @@ -70,6 +70,23 @@ build: # ./dist/all/assets.zip BUILD +assets +go-ci: + BUILD +go-build --GOOS="linux" --GOARCH="amd64" + BUILD +go-build --GOOS="linux" --GOARCH="arm64" + BUILD +go-build --GOOS="windows" --GOARCH="amd64" + BUILD +go-build --GOOS="windows" --GOARCH="arm64" + BUILD +go-test + +angular-ci: + BUILD +angular-release + +tauri-ci: + BUILD +tauri-build --target="x86_64-unknown-linux-gnu" + BUILD +tauri-windows-release-bundle + +kext-ci: + BUILD +kext-build + release: LOCALLY @@ -269,11 +286,6 @@ go-build-utils: BUILD +go-build --CMDS="" --GOARCH=amd64 --GOOS=linux BUILD +go-build --CMDS="" --GOARCH=amd64 --GOOS=windows -# All targets that should run in CI for go. -go-ci: - BUILD +go-release - BUILD +go-test - # Prepares the angular project by installing dependencies angular-deps: FROM ${node_builder_image}