Skip to content

Commit

Permalink
Intel mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris7 committed Nov 15, 2024
1 parent d8eb9c5 commit 6886d86
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,26 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install x86 toolchain
run: |
rustup toolchain install x86_64-apple-darwin
- name: Build
run: cargo build --release
run: |
cargo build --release --target x86_64-apple-darwin
cargo build --release
- name: upload-binary
run: |
zip -j -r gen.macos.zip target/release/gen
gh release upload nightly gen.macos.zip --clobber
zip -j -r gen.macos-arm64.zip target/release/gen
zip -j -r gen.macos-x86.zip target/x86_64-apple-darwin/gen
gh release upload nightly gen.macos-arm64.zip --clobber
gh release upload nightly gen.macos-x86.zip --clobber
release-ubuntu:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Build
run: cargo build --release
- name: upload-binary
run: |
zip -j -r gen.ubuntu.zip target/release/gen
Expand Down

0 comments on commit 6886d86

Please sign in to comment.