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

Final CI Update?

+21 -17
+21 -17
.github/workflows/ci.yml
··· 65 65 key: "swiftpm-tests-build-${{ runner.os }}-${{ github.event.pull_request.base.sha || github.event.after }}" 66 66 restore-keys: "swiftpm-tests-build-${{ runner.os }}-" 67 67 - name: Building Package 68 - run: set -o pipefail && swift --run swift build --build-tests --sanitize fuzzer | xcbeautify 68 + run: set -o pipefail && swift build --build-tests | xcbeautify 69 + # run: set -o pipefail && swift build --build-tests // --sanitize fuzzer | xcbeautify 69 70 - name: Cache .build 70 71 if: steps.restore-build.outputs.cache-hit != 'true' 71 72 uses: actions/cache/save@v4 72 73 with: 73 74 path: .build 74 75 key: "swiftpm-tests-build-${{ runner.os }}-${{ github.event.pull_request.base.sha || github.event.after }}" 75 - - name: Testing Package 76 - run: set -o pipefail && swift --run swift test --skip-build | xcbeautify 77 - - name: Fuzzing For 15 Seconds 78 - run: | 79 - mkdir -p .fuzz 80 - mkdir -p .fuzz/new-corpus 81 - mkdir -p .fuzz/corpus 82 - mkdir -p .fuzz/artifacts 83 - ./.build/debug/Fuzzing .fuzz/new-corpus .fuzz/corpus -max_total_time=15 -artifact_prefix=.fuzz/artifacts -max_len=1000000 84 - - name: "Upload Fuzzing Artifacts (if available)" 85 - uses: actions/upload-artifact@v4 86 - with: 87 - name: "FuzzArtifacts" 88 - path: ".fuzz/artifacts" 89 - if-no-files-found: "ignore" 90 - retention-days: 14 76 + 77 + # TODO: The Xcode version of the swift toolchain does not come with libfuzzer 78 + # What needs to happen is we install the open source toolchain and then we can fuzz here... 79 + # - name: Testing Package 80 + # run: set -o pipefail && swift test --skip-build | xcbeautify 81 + # - name: Fuzzing For 15 Seconds 82 + # run: | 83 + # mkdir -p .fuzz 84 + # mkdir -p .fuzz/new-corpus 85 + # mkdir -p .fuzz/corpus 86 + # mkdir -p .fuzz/artifacts 87 + # ./.build/debug/Fuzzing .fuzz/new-corpus .fuzz/corpus -max_total_time=15 -artifact_prefix=.fuzz/artifacts -max_len=1000000 88 + # - name: "Upload Fuzzing Artifacts (if available)" 89 + # uses: actions/upload-artifact@v4 90 + # with: 91 + # name: "FuzzArtifacts" 92 + # path: ".fuzz/artifacts" 93 + # if-no-files-found: "ignore" 94 + # retention-days: 14