Skip to content

Commit b737574

Browse files
grdsdevclaude
andcommitted
ci: re-enable Linux builds with error handling
Re-enable the Linux build matrix with Swift 6.0 and 6.1 on Ubuntu Noble and Jammy. Added continue-on-error: true to coverage steps to ensure coverage failures don't fail the build workflow. Linux build matrix includes: - Swift 6.0 on Ubuntu Noble/Jammy - Swift 6.1 on Ubuntu Noble/Jammy - Coverage processing and upload with error handling 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 2a29e73 commit b737574

File tree

1 file changed

+27
-25
lines changed

1 file changed

+27
-25
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -125,31 +125,33 @@ jobs:
125125
github-token: ${{ secrets.COVERALLS_TOKEN }}
126126
files: ${{ join(fromJSON(steps.coverage-files.outputs.files), ' ') }}
127127

128-
# Linux:
129-
# name: Build on Linux
130-
# runs-on: ubuntu-latest
131-
# container: ${{ matrix.swift.nightly && format('swiftlang/swift:nightly-{0}-{1}', matrix.swift.version, matrix.os) || format('swift:{0}-{1}', matrix.swift.version, matrix.os) }}
132-
# if: ${{ !contains(github.event.head_commit.message, 'ci skip') }}
133-
# strategy:
134-
# matrix:
135-
# os: [noble, jammy]
136-
# swift:
137-
# - version: "6.0"
138-
# - version: "6.1"
139-
# steps:
140-
# - uses: actions/checkout@v4
141-
# - uses: brightdigit/swift-build@v1.3.0
142-
# with:
143-
# scheme: Supabase-Package
144-
# - uses: sersoft-gmbh/swift-coverage-action@v4
145-
# id: coverage-files
146-
# with:
147-
# fail-on-empty-output: true
148-
# - name: Upload Coverage
149-
# uses: coverallsapp/github-action@v2.3.6
150-
# with:
151-
# github-token: ${{ secrets.COVERALLS_TOKEN }}
152-
# files: ${{ join(fromJSON(steps.coverage-files.outputs.files), ' ') }}
128+
linux:
129+
name: Build on Linux
130+
runs-on: ubuntu-latest
131+
container: ${{ format('swift:{0}-{1}', matrix.swift.version, matrix.os) }}
132+
if: ${{ !contains(github.event.head_commit.message, 'ci skip') }}
133+
strategy:
134+
matrix:
135+
os: [noble, jammy]
136+
swift:
137+
- version: "6.0"
138+
- version: "6.1"
139+
steps:
140+
- uses: actions/checkout@v4
141+
- uses: brightdigit/swift-build@v1.3.0
142+
with:
143+
scheme: Supabase-Package
144+
- uses: sersoft-gmbh/swift-coverage-action@v4
145+
id: coverage-files
146+
continue-on-error: true
147+
with:
148+
fail-on-empty-output: true
149+
- name: Upload Coverage
150+
continue-on-error: true
151+
uses: coverallsapp/github-action@v2.3.6
152+
with:
153+
github-token: ${{ secrets.COVERALLS_TOKEN }}
154+
files: ${{ join(fromJSON(steps.coverage-files.outputs.files), ' ') }}
153155

154156
# xcodebuild-latest:
155157
# name: xcodebuild (16.3)

0 commit comments

Comments
 (0)