Skip to content

Commit 32663fd

Browse files
committed
keep only linux job
1 parent f4ab1be commit 32663fd

File tree

1 file changed

+129
-129
lines changed

1 file changed

+129
-129
lines changed

.github/workflows/ci.yml

Lines changed: 129 additions & 129 deletions
Original file line numberDiff line numberDiff line change
@@ -43,93 +43,93 @@ permissions:
4343
contents: read
4444

4545
jobs:
46-
macos:
47-
name: xcodebuild (macOS latest)
48-
runs-on: macos-15
49-
strategy:
50-
matrix:
51-
command: [test, ""]
52-
platform: [IOS, MACOS]
53-
xcode: ["26.0", "16.4"]
54-
include:
55-
- { command: test, skip_release: 1 }
56-
steps:
57-
- uses: actions/checkout@v5
58-
- name: Select Xcode ${{ matrix.xcode }}
59-
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
60-
- name: List available devices
61-
run: xcrun simctl list devices available
62-
- name: Set IgnoreFileSystemDeviceInodeChanges flag
63-
run: defaults write com.apple.dt.XCBuild IgnoreFileSystemDeviceInodeChanges -bool YES
64-
- name: Update mtime for incremental builds
65-
uses: chetan/git-restore-mtime-action@v2
66-
- name: Debug
67-
run: make XCODEBUILD_ARGUMENT="${{ matrix.command }}" CONFIG=Debug PLATFORM="${{ matrix.platform }}" xcodebuild
68-
- name: Release
69-
if: matrix.skip_release != '1'
70-
run: make XCODEBUILD_ARGUMENT="${{ matrix.command }}" CONFIG=Release PLATFORM="${{ matrix.platform }}" xcodebuild
71-
- name: Install lcov
72-
if: matrix.command == 'test' && matrix.platform == 'IOS' && matrix.xcode == '26.0'
73-
run: brew install lcov
74-
- name: Export code coverage
75-
id: coverage
76-
if: matrix.command == 'test' && matrix.platform == 'IOS' && matrix.xcode == '26.0'
77-
run: make XCODEBUILD_ARGUMENT="${{ matrix.command }}" CONFIG=Debug PLATFORM="${{ matrix.platform }}" coverage
78-
- uses: coverallsapp/[email protected]
79-
if: steps.coverage.outcome == 'success'
80-
with:
81-
github-token: ${{ secrets.GITHUB_TOKEN }}
82-
file: lcov.info
46+
# macos:
47+
# name: xcodebuild (macOS latest)
48+
# runs-on: macos-15
49+
# strategy:
50+
# matrix:
51+
# command: [test, ""]
52+
# platform: [IOS, MACOS]
53+
# xcode: ["26.0", "16.4"]
54+
# include:
55+
# - { command: test, skip_release: 1 }
56+
# steps:
57+
# - uses: actions/checkout@v5
58+
# - name: Select Xcode ${{ matrix.xcode }}
59+
# run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
60+
# - name: List available devices
61+
# run: xcrun simctl list devices available
62+
# - name: Set IgnoreFileSystemDeviceInodeChanges flag
63+
# run: defaults write com.apple.dt.XCBuild IgnoreFileSystemDeviceInodeChanges -bool YES
64+
# - name: Update mtime for incremental builds
65+
# uses: chetan/git-restore-mtime-action@v2
66+
# - name: Debug
67+
# run: make XCODEBUILD_ARGUMENT="${{ matrix.command }}" CONFIG=Debug PLATFORM="${{ matrix.platform }}" xcodebuild
68+
# - name: Release
69+
# if: matrix.skip_release != '1'
70+
# run: make XCODEBUILD_ARGUMENT="${{ matrix.command }}" CONFIG=Release PLATFORM="${{ matrix.platform }}" xcodebuild
71+
# - name: Install lcov
72+
# if: matrix.command == 'test' && matrix.platform == 'IOS' && matrix.xcode == '26.0'
73+
# run: brew install lcov
74+
# - name: Export code coverage
75+
# id: coverage
76+
# if: matrix.command == 'test' && matrix.platform == 'IOS' && matrix.xcode == '26.0'
77+
# run: make XCODEBUILD_ARGUMENT="${{ matrix.command }}" CONFIG=Debug PLATFORM="${{ matrix.platform }}" coverage
78+
# - uses: coverallsapp/[email protected]
79+
# if: steps.coverage.outcome == 'success'
80+
# with:
81+
# github-token: ${{ secrets.GITHUB_TOKEN }}
82+
# file: lcov.info
8383

84-
macos-legacy:
85-
name: xcodebuild (macOS legacy)
86-
runs-on: macos-14
87-
strategy:
88-
matrix:
89-
command: [test, ""]
90-
platform: [IOS, MACOS, MAC_CATALYST]
91-
xcode: ["15.4"]
92-
include:
93-
- { command: test, skip_release: 1 }
94-
steps:
95-
- uses: actions/checkout@v5
96-
- name: Select Xcode ${{ matrix.xcode }}
97-
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
98-
- name: List available devices
99-
run: xcrun simctl list devices available
100-
- name: Cache derived data
101-
uses: actions/cache@v4
102-
with:
103-
path: |
104-
~/.derivedData
105-
key: |
106-
deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.xcode }}-${{ matrix.command }}-${{ hashFiles('**/Sources/**/*.swift', '**/Tests/**/*.swift') }}
107-
restore-keys: |
108-
deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.xcode }}-${{ matrix.command }}-
109-
- name: Set IgnoreFileSystemDeviceInodeChanges flag
110-
run: defaults write com.apple.dt.XCBuild IgnoreFileSystemDeviceInodeChanges -bool YES
111-
- name: Update mtime for incremental builds
112-
uses: chetan/git-restore-mtime-action@v2
113-
- name: Debug
114-
run: make XCODEBUILD_ARGUMENT="${{ matrix.command }}" CONFIG=Debug PLATFORM="${{ matrix.platform }}" xcodebuild
115-
- name: Release
116-
if: matrix.skip_release != '1'
117-
run: make XCODEBUILD_ARGUMENT="${{ matrix.command }}" CONFIG=Release PLATFORM="${{ matrix.platform }}" xcodebuild
84+
# macos-legacy:
85+
# name: xcodebuild (macOS legacy)
86+
# runs-on: macos-14
87+
# strategy:
88+
# matrix:
89+
# command: [test, ""]
90+
# platform: [IOS, MACOS, MAC_CATALYST]
91+
# xcode: ["15.4"]
92+
# include:
93+
# - { command: test, skip_release: 1 }
94+
# steps:
95+
# - uses: actions/checkout@v5
96+
# - name: Select Xcode ${{ matrix.xcode }}
97+
# run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
98+
# - name: List available devices
99+
# run: xcrun simctl list devices available
100+
# - name: Cache derived data
101+
# uses: actions/cache@v4
102+
# with:
103+
# path: |
104+
# ~/.derivedData
105+
# key: |
106+
# deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.xcode }}-${{ matrix.command }}-${{ hashFiles('**/Sources/**/*.swift', '**/Tests/**/*.swift') }}
107+
# restore-keys: |
108+
# deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.xcode }}-${{ matrix.command }}-
109+
# - name: Set IgnoreFileSystemDeviceInodeChanges flag
110+
# run: defaults write com.apple.dt.XCBuild IgnoreFileSystemDeviceInodeChanges -bool YES
111+
# - name: Update mtime for incremental builds
112+
# uses: chetan/git-restore-mtime-action@v2
113+
# - name: Debug
114+
# run: make XCODEBUILD_ARGUMENT="${{ matrix.command }}" CONFIG=Debug PLATFORM="${{ matrix.platform }}" xcodebuild
115+
# - name: Release
116+
# if: matrix.skip_release != '1'
117+
# run: make XCODEBUILD_ARGUMENT="${{ matrix.command }}" CONFIG=Release PLATFORM="${{ matrix.platform }}" xcodebuild
118118

119-
spm:
120-
runs-on: macos-15
121-
strategy:
122-
matrix:
123-
config: [debug, release]
124-
steps:
125-
- uses: actions/checkout@v5
126-
- uses: actions/cache@v4
127-
with:
128-
path: .build
129-
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
130-
restore-keys: |
131-
${{ runner.os }}-spm-
132-
- run: swift build -c ${{ matrix.config }}
119+
# spm:
120+
# runs-on: macos-15
121+
# strategy:
122+
# matrix:
123+
# config: [debug, release]
124+
# steps:
125+
# - uses: actions/checkout@v5
126+
# - uses: actions/cache@v4
127+
# with:
128+
# path: .build
129+
# key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
130+
# restore-keys: |
131+
# ${{ runner.os }}-spm-
132+
# - run: swift build -c ${{ matrix.config }}
133133

134134
linux:
135135
name: Linux
@@ -156,49 +156,49 @@ jobs:
156156
# # tests are not yet passing on Android
157157
# run-tests: false
158158

159-
library-evolution:
160-
name: Library (evolution)
161-
runs-on: macos-15
162-
strategy:
163-
matrix:
164-
xcode: ["16.3"]
165-
steps:
166-
- uses: actions/checkout@v5
167-
- name: Select Xcode ${{ matrix.xcode }}
168-
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
169-
- name: Build for library evolution
170-
run: make build-for-library-evolution
159+
# library-evolution:
160+
# name: Library (evolution)
161+
# runs-on: macos-15
162+
# strategy:
163+
# matrix:
164+
# xcode: ["16.3"]
165+
# steps:
166+
# - uses: actions/checkout@v5
167+
# - name: Select Xcode ${{ matrix.xcode }}
168+
# run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
169+
# - name: Build for library evolution
170+
# run: make build-for-library-evolution
171171

172-
examples:
173-
name: Examples
174-
runs-on: macos-15
175-
steps:
176-
- uses: actions/checkout@v5
177-
- name: Cache derived data
178-
uses: actions/cache@v4
179-
with:
180-
path: ~/.derivedData
181-
key: |
182-
deriveddata-examples-${{ hashFiles('**/Sources/**/*.swift', '**/Tests/**/*.swift', '**/Examples/**/*.swift') }}
183-
restore-keys: |
184-
deriveddata-examples-
185-
- name: Select Xcode 26.0
186-
run: sudo xcode-select -s /Applications/Xcode_26.0.app
187-
- name: Set IgnoreFileSystemDeviceInodeChanges flag
188-
run: defaults write com.apple.dt.XCBuild IgnoreFileSystemDeviceInodeChanges -bool YES
189-
- name: Update mtime for incremental builds
190-
uses: chetan/git-restore-mtime-action@v2
191-
- name: Examples
192-
run: make DERIVED_DATA_PATH=~/.derivedData SCHEME="Examples" XCODEBUILD_ARGUMENT=build xcodebuild
193-
- name: SlackClone
194-
run: make DERIVED_DATA_PATH=~/.derivedData SCHEME="SlackClone" XCODEBUILD_ARGUMENT=build xcodebuild
195-
- name: UserManagement
196-
run: make DERIVED_DATA_PATH=~/.derivedData SCHEME="UserManagement" XCODEBUILD_ARGUMENT=build xcodebuild
172+
# examples:
173+
# name: Examples
174+
# runs-on: macos-15
175+
# steps:
176+
# - uses: actions/checkout@v5
177+
# - name: Cache derived data
178+
# uses: actions/cache@v4
179+
# with:
180+
# path: ~/.derivedData
181+
# key: |
182+
# deriveddata-examples-${{ hashFiles('**/Sources/**/*.swift', '**/Tests/**/*.swift', '**/Examples/**/*.swift') }}
183+
# restore-keys: |
184+
# deriveddata-examples-
185+
# - name: Select Xcode 26.0
186+
# run: sudo xcode-select -s /Applications/Xcode_26.0.app
187+
# - name: Set IgnoreFileSystemDeviceInodeChanges flag
188+
# run: defaults write com.apple.dt.XCBuild IgnoreFileSystemDeviceInodeChanges -bool YES
189+
# - name: Update mtime for incremental builds
190+
# uses: chetan/git-restore-mtime-action@v2
191+
# - name: Examples
192+
# run: make DERIVED_DATA_PATH=~/.derivedData SCHEME="Examples" XCODEBUILD_ARGUMENT=build xcodebuild
193+
# - name: SlackClone
194+
# run: make DERIVED_DATA_PATH=~/.derivedData SCHEME="SlackClone" XCODEBUILD_ARGUMENT=build xcodebuild
195+
# - name: UserManagement
196+
# run: make DERIVED_DATA_PATH=~/.derivedData SCHEME="UserManagement" XCODEBUILD_ARGUMENT=build xcodebuild
197197

198-
docs:
199-
name: Test docs
200-
runs-on: macos-15
201-
steps:
202-
- uses: actions/checkout@v5
203-
- name: Test docs
204-
run: make test-docs
198+
# docs:
199+
# name: Test docs
200+
# runs-on: macos-15
201+
# steps:
202+
# - uses: actions/checkout@v5
203+
# - name: Test docs
204+
# run: make test-docs

0 commit comments

Comments
 (0)