Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add M1 support #75

Merged
merged 5 commits into from
Dec 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,37 @@ jobs:
if-no-files-found: error
retention-days: 7

macos-m1:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: aarch64-apple-darwin
profile: minimal
override: true
- uses: Swatinem/rust-cache@v1
- name: Build Bob
uses: actions-rs/cargo@v1
with:
command: build
args: --profile optimized --target aarch64-apple-darwin
- name: Check lints
uses: actions-rs/cargo@v1
with:
command: clippy
args: --verbose -- -D warnings
- name: Upload Bob M1 MacOS binary
uses: actions/upload-artifact@v2
with:
name: "bob-macos-arm"
path: "target/aarch64-apple-darwin/optimized/bob"
if-no-files-found: error
retention-days: 7


windows:
runs-on: windows-latest
steps:
Expand Down
14 changes: 14 additions & 0 deletions resources/tapes/demo.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Output demo.gif

Require bob

Set FontSize 32
Set Width 1200
Set Height 600
Set LoopOffset 50%

Type bob use
Sleep 500ms
Enter

Sleep 5s