Skip to content

Commit 5e9c0f4

Browse files
authored
Update ci.yml (#10)
* Update ci.yml * Update release.yml * add docs to CI
1 parent 53fc369 commit 5e9c0f4

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
branches: '*'
77

88
env:
9-
CI_XCODE: '/Applications/Xcode_14.1.app/Contents/Developer'
9+
CI_XCODE: '/Applications/Xcode_14.2.app/Contents/Developer'
1010

1111
concurrency:
1212
group: ${{ github.workflow }}-${{ github.ref }}
@@ -65,3 +65,15 @@ jobs:
6565
env_vars: LINUX
6666
fail_ci_if_error: true
6767

68+
docs:
69+
timeout-minutes: 10
70+
needs: spm-test
71+
runs-on: macos-latest
72+
steps:
73+
- uses: actions/checkout@v3
74+
- name: Use multiple cores
75+
run: defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 1
76+
- name: Generate Docs
77+
run: set -o pipefail && env NSUnbufferedIO=YES Scripts/generate-documentation
78+
env:
79+
DEVELOPER_DIR: ${{ env.CI_XCODE }}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
env:
77
CI_XCODE_VER: '/Applications/Xcode_12.app/Contents/Developer'
8-
CI_XCODE_13: '/Applications/Xcode_13.4.1.app/Contents/Developer'
8+
CI_XCODE: '/Applications/Xcode_14.2.app/Contents/Developer'
99

1010
jobs:
1111
docs:
@@ -18,4 +18,4 @@ jobs:
1818
run: set -o pipefail && env NSUnbufferedIO=YES Scripts/update-gh-pages-documentation-site
1919
env:
2020
CURRENT_BRANCH_NAME: release
21-
DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
21+
DEVELOPER_DIR: ${{ env.CI_XCODE }}

0 commit comments

Comments
 (0)