Skip to content

Commit

Permalink
Merge pull request #75 from MordechaiHadad/ci/m1
Browse files Browse the repository at this point in the history
Add M1 support
  • Loading branch information
MordechaiHadad authored Dec 6, 2022
2 parents d7f832f + 83f35ff commit 0005446
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
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

0 comments on commit 0005446

Please sign in to comment.