Debian Codegraph @

.github/workflows/ios.yml

raw
1 name: Gomobile for iOS
2
3 on:
4 push:
5 branches: [ main ]
6 pull_request:
7 branches: [ main, v3 ]
8
9 permissions: {}
10
11 jobs:
12 build:
13 name: Build library for iOS with gomobile
14 runs-on: macos-latest
15
16 steps:
17 - name: Set up xcode 16.0.0
18 uses: maxim-lobanov/setup-xcode@v1
19 with:
20 xcode-version: 16.0.0
21 id: xcode
22
23 - name: Set up Go 1.x
24 uses: actions/setup-go@v6
25 with:
26 go-version: ^1.16
27 id: go
28
29 - name: Checkout
30 uses: actions/checkout@v6
31
32 - name: Build
33 env:
34 platform: ${{ 'iOS Simulator' }}
35 run: |
36 ./build.sh apple
37 find dist
38
39 - name: Upload xcframework
40 uses: actions/upload-artifact@v7
41 with:
42 name: gopenpgp.xcframework
43 path: dist/apple/gopenpgp.xcframework
44 if-no-files-found: error