mirror of
https://github.com/safing/portmaster
synced 2025-09-01 10:09:11 +00:00
Improve CI Earthly targets
This commit is contained in:
parent
4c2dc14474
commit
fc4261706c
4 changed files with 20 additions and 8 deletions
2
.github/workflows/angular.yml
vendored
2
.github/workflows/angular.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/kext.yml
vendored
2
.github/workflows/kext.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/tauri.yml
vendored
2
.github/workflows/tauri.yml
vendored
|
@ -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
|
||||
|
|
22
Earthfile
22
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}
|
||||
|
|
Loading…
Add table
Reference in a new issue