This repository was archived by the owner on Dec 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,3 +8,6 @@ charset = utf-8
88trim_trailing_whitespace = false
99insert_final_newline = true
1010
11+ [* .{yml,yaml} ]
12+ indent_style = space
13+ indent_size = 2
Original file line number Diff line number Diff line change 1+ name : Nightly CI
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches :
7+ - main
8+
9+ jobs :
10+ nightly :
11+ runs-on : macos-15
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v2
15+
16+ - name : Select Xcode 16.2
17+ run : sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
18+
19+ - name : Build Artifacts
20+ run : make
21+
22+ - name : Release Nightly
23+ uses : andelf/nightly-release@v1
24+ env :
25+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26+ with :
27+ body : |
28+ > [!NOTE]
29+ > Auto-updating is not yet implemented! Will be in a future release, for now you will need to update manually.
30+
31+ **Commit:** [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})
32+ **Message:** ${{ github.event.head_commit.message }}
33+
34+ This is a nightly release [created automatically with GitHub Actions workflow](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}).
35+ files : packages/Copyboard.zip
Original file line number Diff line number Diff line change 1+ NAME := Copyboard
2+ PLATFORM := macosx
3+ SCHEMES := Copyboard
4+ TMP := $(TMPDIR ) /$(NAME )
5+ STAGE := $(TMP ) /stage
6+ APP := $(TMP ) /Build/Products/Release
7+
8+ .PHONY : all clean $(SCHEMES )
9+
10+ all : $(SCHEMES )
11+
12+ $(SCHEMES ) :
13+ xcodebuild \
14+ -project $(NAME ) .xcodeproj \
15+ -scheme " $@ " \
16+ -configuration Release \
17+ -sdk $(PLATFORM ) \
18+ -arch arm64 \
19+ -arch x86_64 \
20+ -derivedDataPath $(TMP ) \
21+ -skipPackagePluginValidation \
22+ CODE_SIGNING_ALLOWED=NO \
23+ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO \
24+ ONLY_ACTIVE_ARCH=NO
25+
26+ @rm -rf packages
27+ @rm -rf $(STAGE)
28+ @mkdir -p $(STAGE)
29+ @mv $(APP)/$@.app $(STAGE)
30+
31+ @mkdir -p packages
32+ @cp -R $(STAGE)/$@.app packages/
33+ @zip -r packages/$(NAME).zip packages/$@.app
34+
35+ clean :
36+ @rm -rf packages
37+ @rm -rf $(TMP )
You can’t perform that action at this time.
0 commit comments