A fast, safe, and efficient CBOR serialization library for Swift on any platform. swiftpackageindex.com/thecoolwinter/CBOR/1.1.1/documentation/cbor
atproto swift cbor

Revert "Break Fuzzing out into it's own step"

This reverts commit 5bda8ef9705180890df77e58c77d4bf7e02cfca8.

+7 -15
+7 -15
.github/workflows/ci.yml
··· 38 38 else 39 39 set -o pipefail && swift test | xcbeautify 40 40 fi 41 - 42 - fuzz: 43 - name: Fuzzing CBOR 44 - needs: swiftlint 45 - runs-on: macos-latest 46 - steps: 47 - - name: Checkout repository 48 - uses: actions/checkout@v5 49 - - uses: swift-actions/setup-swift@v2 50 - with: 51 - swift-version: "6.1" 52 41 - name: Building Fuzzing Target 53 42 run: | 54 - set -o pipefail && swift build -c release --sanitize fuzzer,address | xcbeautify 55 - - name: Fuzzing For 15 Seconds 43 + if [ "$RUNNER_OS" == "Linux" ]; then 44 + swift build -c release --sanitize fuzzer,address 45 + else 46 + set -o pipefail && swift build -c release --sanitize fuzzer,address | xcbeautify 47 + fi 48 + - name: Fuzzing For 30 Seconds 56 49 run: | 57 50 mkdir -p .fuzz 58 51 mkdir -p .fuzz/new-corpus 59 52 mkdir -p .fuzz/corpus 60 53 mkdir -p .fuzz/artifacts 61 - ./.build/release/Fuzzing .fuzz/new-corpus .fuzz/corpus -max_total_time=15 -artifact_prefix=.fuzz/artifacts -max_len=1000000 54 + ./.build/release/Fuzzing .fuzz/new-corpus .fuzz/corpus -max_total_time=10 -artifact_prefix=.fuzz/artifacts -max_len=1000000 62 55 - name: "Upload Fuzzing Artifacts (if available)" 63 56 uses: actions/upload-artifact@v4 64 57 with: ··· 66 59 path: ".fuzz/artifacts" 67 60 if-no-files-found: "ignore" 68 61 retention-days: 14 69 -