Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,18 +173,19 @@ jobs:
--breakage-allowlist-path known_api_breaks.txt

sanitizer_testing:
# Something likely changed in the base ubuntu image causing failures,
# don't fail the build based on these changes.
# Using older ubuntu image due to issue with newer linux kernel images. When
# changing, see the "container" value below.
# https://github.com/apple/swift-protobuf/issues/1571
continue-on-error: true
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
sanitizer: ["address", "thread"]
swiftpm_config: ["debug", "release"]
container:
image: swift:latest
# Test on the latest Swift release, but forcing the focal image to match the
# ubuntu issue mentioned aboce.
image: swift:focal
steps:
- uses: actions/checkout@v4
- name: Test
Expand All @@ -206,17 +207,18 @@ jobs:
swift test -c ${{ matrix.swiftpm_config }} --sanitize=${{ matrix.sanitizer }} ${EXTRAS:-}

fuzzing_regressions:
# Something likely changed in the base ubuntu image causing failures,
# don't fail the build based on these changes.
# https://github.com/apple/swift-protobuf/issues/1573
continue-on-error: true
runs-on: ubuntu-latest
# Using older ubuntu image due to issue with newer linux kernel images. When
# changing, see the "container" value below.
# https://github.com/apple/swift-protobuf/issues/1571
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
swiftpm_config: ["debug", "release"]
container:
image: swift:latest
# Test on the latest Swift release, but forcing the focal image to match the
# ubuntu issue mentioned aboce.
image: swift:focal
steps:
- uses: actions/checkout@v4
- name: Build
Expand Down