tangled
alpha
login
or
join now
khanwinter.com
/
CBOR
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
2
fork
atom
overview
issues
pulls
pipelines
Maybe?
Khan Winter
5 months ago
dd63ac89
d0bbba6e
+20
-18
1 changed file
expand all
collapse all
unified
split
.github
workflows
ci.yml
+20
-18
.github/workflows/ci.yml
···
18
18
with:
19
19
version: latest
20
20
21
21
-
test:
22
22
-
name: Testing CBOR
21
21
+
test-linux:
22
22
+
name: Testing CBOR (ubuntu)
23
23
needs: swiftlint
24
24
-
strategy:
25
25
-
matrix:
26
26
-
os: [ubuntu-latest, macos-latest]
27
27
-
runs-on: ${{ matrix.os }}
24
24
+
runs-on: ubuntu-latest
25
25
+
container: swift:6.1-noble
28
26
steps:
29
27
- name: Checkout repository
30
28
uses: actions/checkout@v5
···
32
30
with:
33
31
swift-version: "6.1"
34
32
- name: Testing Package
35
35
-
run: |
36
36
-
if [ "$RUNNER_OS" == "Linux" ]; then
37
37
-
swift test
38
38
-
else
39
39
-
set -o pipefail && swift test | xcbeautify
40
40
-
fi
33
33
+
run: swift test
34
34
+
35
35
+
test-macos:
36
36
+
name: Testing and Fuzzing CBOR (macOS)
37
37
+
needs: swiftlint
38
38
+
runs-on: macos-latest
39
39
+
container: swift:6.1-noble
40
40
+
steps:
41
41
+
- name: Checkout repository
42
42
+
uses: actions/checkout@v5
43
43
+
- uses: swift-actions/setup-swift@next
44
44
+
with:
45
45
+
swift-version: "6.1"
46
46
+
- name: Testing Package
47
47
+
run: set -o pipefail && swift test | xcbeautify
41
48
- name: Building Fuzzing Target
42
42
-
run: |
43
43
-
if [ "$RUNNER_OS" == "Linux" ]; then
44
44
-
swift build -c release --sanitize fuzzer,address
45
45
-
else
46
46
-
set -o pipefail && swift build -c release --sanitize fuzzer,address | xcbeautify
47
47
-
fi
49
49
+
run: set -o pipefail && swift build -c release --sanitize fuzzer,address | xcbeautify
48
50
- name: Fuzzing For 30 Seconds
49
51
run: |
50
52
mkdir -p .fuzz