-
Notifications
You must be signed in to change notification settings - Fork 208
61 lines (45 loc) · 1.68 KB
/
iostest.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
name: CI
on: [push]
jobs:
test-adoc-generation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
#- name: pwd
# run: pwd
# result: /home/runner/work/swiftui-notes/swiftui-notes
- name: verify html generation with asciidoctor
run: docker run --rm -v $(pwd):/documents/ --name asciidoc-to-html heckj/docker-asciidoctor asciidoctor -v -t -D /documents/output -r ./docs/lib/google-analytics-docinfoprocessor.rb docs/using-combine-book.adoc
# results to appear in the directory 'output'
# build:
# runs-on: macos-14
#env:
# sets the version of Xcode to utilize within the VM for all steps
# DEVELOPER_DIR: /Applications/Xcode_13.app/Contents/Developer
# steps:
# - uses: actions/checkout@v2
# - name: docker version
# run: docker -v
# - name: docker help
# run: docker --help
# - name: Show what's in Applications
# run: ls -al /Applications
# - name: xcodebuild --help
# run: xcodebuild --help
# - name: xcodebuild --showsdks
# run: xcodebuild -showsdks
# - name: xcodebuild -showBuildSettings
# run: xcodebuild -showBuildSettings
# - name: xcodebuild -showTestPlans
# run: xcodebuild -showTestPlans
# - name: xcodebuild -list
# run: xcodebuild -list
# - name: Show available destinations
# run: xcodebuild -scheme SwiftUI-Notes -showdestinations
# - name: Run the Combine test suite (iOS)
# run: |
# xcodebuild -scheme SwiftUI-Notes \
# -configuration Debug \
# -sdk iphonesimulator17.0 \
# -destination 'platform=iOS Simulator,OS=17.5,name=iPhone 14' \
# test -showBuildTimingSummary