Repository navigation
82 lines (69 loc) · 1.96 KB
/
Copy pathios-ui-tests.yml
File metadata and controls
82 lines (69 loc) · 1.96 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name: iOS UI CI
on:
workflow_dispatch:
push:
branches: ["main"]
paths:
- "ios/**"
- "core/**"
- "rust-toolchain.toml"
- "localization/**"
- ".gitmodules"
- ".github/actions/**"
- ".github/workflows/ios-ui-tests.yml"
pull_request:
branches: ["main"]
paths:
- "ios/**"
- "core/**"
- "rust-toolchain.toml"
- "localization/**"
- ".gitmodules"
- ".github/actions/**"
- ".github/workflows/ios-ui-tests.yml"
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
env:
CARGO_TERM_COLOR: always
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
jobs:
ui_test:
runs-on: macos-26
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
submodules: recursive
- name: Setup iOS CI
uses: ./.github/actions/setup-ios-ci
- name: Cache Swift Package Manager
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: |
~/.swiftpm
ios/build/SourcePackages
key: ${{ runner.os }}-spm-${{ hashFiles('ios/**/Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-
- name: Install dependencies
working-directory: ios
run: just install-toolchains
- name: Build Core
working-directory: ios
run: just generate-stone
env:
GEMSTONE_IOS_TARGETS: "aarch64-apple-ios-sim"
- name: Resolve SPM Dependencies
working-directory: ios
run: just spm-resolve
- name: Build for Testing
working-directory: ios
run: just build-for-testing-integration
- name: UI Tests
working-directory: ios
run: just test-integration-without-building