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 f23bf7f commit 06fa048
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,31 +11,33 @@ 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
steps:
- uses: RDXWorks-actions/checkout@main

- uses: RDXWorks-actions/toolchain@master
- name: Install Rust Toolchain for x86_64-apple-ios
uses: RDXWorks-actions/toolchain@master
with:
toolchain: nightly-2024-01-11
default: true
components: rust-std
toolchain: $RUST_TOOLCHAIN
components: $RUST_COMPONENTS
target: x86_64-apple-ios

- uses: RDXWorks-actions/toolchain@master
- name: Install Rust Toolchain for aarch64-apple-ios
uses: RDXWorks-actions/toolchain@master
with:
toolchain: nightly-2024-01-11
default: true
components: rust-std
toolchain: $RUST_TOOLCHAIN
components: $RUST_COMPONENTS
target: aarch64-apple-ios

- uses: RDXWorks-actions/toolchain@master
- name: Install Rust Toolchain for aarch64-apple-ios-sim
uses: RDXWorks-actions/toolchain@master
with:
toolchain: nightly-2024-01-11
default: true
components: rust-std
toolchain: $RUST_TOOLCHAIN
components: $RUST_COMPONENTS
target: aarch64-apple-ios-sim

- name: Run iOS build script
Expand Down

0 comments on commit 06fa048

Please sign in to comment.