feat: stargate integration #424
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: Gemstone iOS | |
on: | |
push: | |
branches: ["main"] | |
paths: | |
- "gemstone/**" | |
pull_request: | |
branches: ["main"] | |
paths: | |
- "gemstone/**" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
CARGO_TERM_COLOR: always | |
SCCACHE_GHA_ENABLED: "true" | |
RUSTC_WRAPPER: "sccache" | |
RUST_TOOLCHAIN_VERSION: 1.82.0 | |
jobs: | |
build_ios: | |
runs-on: macos-latest | |
defaults: | |
run: | |
working-directory: gemstone | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Restore cargo cache | |
uses: Swatinem/rust-cache@v2 | |
- name: Run sccache-cache | |
uses: mozilla-actions/sccache-action@v0.0.6 | |
- name: Install just | |
run: which just || cargo install just | |
- name: Setup Xcode | |
run: | | |
sudo xcode-select -s /Applications/Xcode_16.1.app | |
xcrun simctl list devices | |
- name: Test iOS | |
run: | | |
just install-ios-targets | |
just build-ios && just test-ios | |
auto_tag: | |
runs-on: ubuntu-latest | |
needs: build_ios | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Auto tag | |
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
uses: anothrNick/github-tag-action@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
WITH_V: true | |
DEFAULT_BUMP: patch | |
DRY_RUN: false |