Skip to content

Commit

Permalink
Merge pull request #1581 from thomasvl/fuzz_sanitizer_issues_1_x
Browse files Browse the repository at this point in the history
Work around the Fuzz & Sanitizer issues on the 1.x branch
  • Loading branch information
Lukasa authored Mar 18, 2024
2 parents bd37b60 + a204b25 commit fe38d0a
Showing 1 changed file with 13 additions and 11 deletions.
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

0 comments on commit fe38d0a

Please sign in to comment.