Add GatewayClient #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CD | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
permissions: | |
id-token: write | |
contents: write | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: macos-14 | |
env: | |
RUST_TOOLCHAIN: nightly-2024-01-11 | |
RUST_COMPONENTS: "rust-std" | |
steps: | |
- uses: actions/checkout@main | |
- name: Install Rust Toolchain for x86_64-apple-ios | |
uses: actions-rs/toolchain@master | |
with: | |
toolchain: ${{ env.RUST_TOOLCHAIN }} | |
components: ${{ env.RUST_COMPONENTS }} | |
target: x86_64-apple-ios | |
- name: Install Rust Toolchain for aarch64-apple-ios | |
uses: actions-rs/toolchain@master | |
with: | |
toolchain: ${{ env.RUST_TOOLCHAIN }} | |
components: ${{ env.RUST_COMPONENTS }} | |
target: aarch64-apple-ios | |
- name: Install Rust Toolchain for aarch64-apple-ios-sim | |
uses: actions-rs/toolchain@master | |
with: | |
toolchain: ${{ env.RUST_TOOLCHAIN }} | |
components: ${{ env.RUST_COMPONENTS }} | |
target: aarch64-apple-ios-sim | |
- name: Run iOS build script | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
rustup target add x86_64-apple-ios aarch64-apple-ios aarch64-apple-ios-sim | |
sh ./scripts/release.sh |