forked from schappim/macOCR
-
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.
- Loading branch information
Showing
62 changed files
with
42 additions
and
5,979 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,34 @@ | ||
name: Build Swift Binary | ||
|
||
on: push | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Install Swift | ||
run: | | ||
brew install swift | ||
- name: Build Swift Script | ||
run: | | ||
swiftc -target x86_64-apple-macos10.10 -o ocr-x86_64 main.swift | ||
swiftc -target arm64-apple-macos11 -o ocr-arm64 main.swift | ||
- name: Upload Binary | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ocr-x86_64 | ||
path: ./ocr-x86_64 | ||
|
||
- name: Upload Binary | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ocr-arm64 | ||
path: ./ocr-arm64 |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.