-
Notifications
You must be signed in to change notification settings - Fork 19
63 lines (53 loc) · 1.37 KB
/
ci-stone-ios.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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/[email protected]
- 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