-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add build, nightly, and update README
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
- Loading branch information
Showing
4 changed files
with
74 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build with Xcode | ||
uses: mxcl/xcodebuild@v3 | ||
with: | ||
xcode: 16.0 | ||
platform: macOS | ||
arch: arm64 | ||
action: build | ||
scheme: macSup2Srt | ||
configuration: release | ||
|
||
- name: Archive | ||
run: tar cvJf ~/macSup2Srt.tar.xz -C build/macSup2Srt/Build/Products/Release/macSup2Srt | ||
|
||
- name: Save artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: macSup2Srt | ||
path: ~/macSup2Srt.tar.xz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Nightly Build | ||
on: | ||
workflow_dispatch: # Allows manual trigger | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build with Xcode | ||
uses: mxcl/xcodebuild@v3 | ||
with: | ||
xcode: 16.0 | ||
platform: macOS | ||
arch: arm64 | ||
action: build | ||
scheme: macSup2Srt | ||
configuration: release | ||
|
||
- name: Archive | ||
run: tar cvJf ~/macSup2Srt.tar.xz -C build/macSup2Srt/Build/Products/Release/macSup2Srt | ||
|
||
- name: Publish | ||
uses: softprops/action-gh-release@v2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
name: nightly | ||
tag_name: nightly | ||
files: ~/macSup2Srt.tar.xz | ||
prerelease: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters