@@ -104,55 +104,40 @@ jobs:
104
104
if : matrix.skip_release != '1'
105
105
run : make XCODEBUILD_ARGUMENT="${{ matrix.command }}" CONFIG=Release PLATFORM="${{ matrix.platform }}" xcodebuild
106
106
107
- linux_android :
108
- name : Linux and Android
109
- runs-on : ubuntu-24.04
107
+ linux :
108
+ name : Linux
109
+ runs-on : ubuntu-latest
110
110
steps :
111
111
- uses : actions/checkout@v4
112
112
- name : " Remove IntegrationTests"
113
113
run : rm -r Tests/IntegrationTests/*
114
- - name : " Build Swift Package on Linux "
114
+ - name : " Build Swift Package"
115
115
run : swift build
116
- - name : " Test Swift Package on Android"
116
+
117
+ android :
118
+ name : Android
119
+ runs-on : ubuntu-latest
120
+ steps :
121
+ - uses : actions/checkout@v4
122
+ - name : " Remove IntegrationTests"
123
+ run : rm -r Tests/IntegrationTests/*
124
+ - name : " Test Swift Package"
117
125
uses : skiptools/swift-android-action@v2
118
126
with :
119
127
# need to copy over the Tests folder because it contains __Snapshots__
120
128
copy-files : Tests
121
129
# tests are not yet passing on Android
122
130
run-tests : false
123
131
124
- # linux:
125
- # name: linux
126
- # strategy:
127
- # matrix:
128
- # swift-version: ["5.10"]
129
- # runs-on: ubuntu-latest
130
- # steps:
131
- # - uses: actions/checkout@v4
132
- # - uses: swift-actions/setup-swift@v2
133
- # with:
134
- # swift-version: ${{ matrix.swift-version }}
135
- # - name: Cache build
136
- # uses: actions/cache@v3
137
- # with:
138
- # path: |
139
- # .build
140
- # key: |
141
- # build-spm-linux-${{ matrix.swift-version }}-${{ hashFiles('**/Sources/**/*.swift', '**/Tests/**/*.swift', '**/Package.resolved') }}
142
- # restore-keys: |
143
- # build-spm-linux-${{ matrix.swift-version }}-
144
- # - name: Run tests
145
- # run: swift test --skip IntegrationTests
146
-
147
- # library-evolution:
148
- # name: Library (evolution)
149
- # runs-on: macos-14
150
- # steps:
151
- # - uses: actions/checkout@v4
152
- # - name: Select Xcode 15.4
153
- # run: sudo xcode-select -s /Applications/Xcode_15.4.app
154
- # - name: Build for library evolution
155
- # run: make build-for-library-evolution
132
+ library-evolution :
133
+ name : Library (evolution)
134
+ runs-on : macos-14
135
+ steps :
136
+ - uses : actions/checkout@v4
137
+ - name : Select Xcode 15.4
138
+ run : sudo xcode-select -s /Applications/Xcode_15.4.app
139
+ - name : Build for library evolution
140
+ run : make build-for-library-evolution
156
141
157
142
examples :
158
143
name : Examples
0 commit comments