Add Gitea Actions pipeline with basic checks
check / lint (push) Successful in 7m16s
check / macos (push) Canceled after 0s

scripts/check.sh (also `make check`) parses the Swift sources, validates
Info.plist and its placeholders, checks the Makefile VERSION against the
newest CHANGELOG release, and flags whitespace errors and conflict markers.

The lint job runs it on the existing Linux runners in a swift:6.3
container. A full macOS build job is included but skipped until a macOS
runner is registered and the MACOS_RUNNER repo variable is set to true.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Gary Hansen
2026-09-28 15:14:13 +10:00
co-authored by Claude Opus 5.5
parent e184197073
commit 757f1ed64a
4 changed files with 105 additions and 1 deletions
+5 -1
View File
@@ -15,7 +15,7 @@ CONTENTS := $(APP)/Contents
# A secure timestamp is required for notarization but impossible for ad-hoc.
TS := $(if $(filter -,$(SIGN_ID)),--timestamp=none,--timestamp)
.PHONY: all build universal app app-universal bundle sign install uninstall run clean
.PHONY: all build universal app app-universal bundle sign install uninstall run check clean
all: app
@@ -73,6 +73,10 @@ uninstall:
run: build
"$(BUILD_DIR)/$(APP_NAME)"
## The same basic checks CI runs (syntax, Info.plist, version, whitespace).
check:
scripts/check.sh
clean:
swift package clean
rm -rf .build "$(DIST)"