Skip to content

Commit

Permalink
ci: multi target build
Browse files Browse the repository at this point in the history
  • Loading branch information
marek-karwacki-rdx committed Feb 19, 2024
1 parent af71036 commit 5e8344f
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,33 +11,34 @@ permissions:
contents: read
env:
CARGO_TERM_COLOR: always
RUST_TOOLCHAIN: nightly-2024-01-11
RUST_COMPONENTS: "rust-std"
jobs:
build:
runs-on: macos-13-xlarge
env:
RUST_TOOLCHAIN: nightly-2024-01-11
RUST_COMPONENTS: "rust-std"
steps:
- uses: RDXWorks-actions/checkout@main

- name: Install Rust Toolchain for x86_64-apple-ios
uses: RDXWorks-actions/toolchain@master
with:
toolchain: $RUST_TOOLCHAIN
components: $RUST_COMPONENTS
toolchain: ${{ env.RUST_TOOLCHAIN }}
components: ${{ env.RUST_COMPONENTS }}
target: x86_64-apple-ios

- name: Install Rust Toolchain for aarch64-apple-ios
uses: RDXWorks-actions/toolchain@master
with:
toolchain: $RUST_TOOLCHAIN
components: $RUST_COMPONENTS
toolchain: ${{ env.RUST_TOOLCHAIN }}
components: ${{ env.RUST_COMPONENTS }}
target: aarch64-apple-ios

- name: Install Rust Toolchain for aarch64-apple-ios-sim
uses: RDXWorks-actions/toolchain@master
with:
toolchain: $RUST_TOOLCHAIN
components: $RUST_COMPONENTS
toolchain: ${{ env.RUST_TOOLCHAIN }}
components: ${{ env.RUST_COMPONENTS }}
target: aarch64-apple-ios-sim

- name: Run iOS build script
Expand Down

0 comments on commit 5e8344f

Please sign in to comment.