Skip to content

Commit 926f438

Browse files
Introducing: Issue Reporting (#87)
* Swift Testing support * wip * wip * wip * wip * wip * wip * wip * wip * wip * riff * sketch of issue reporter * fix * issue reporter override * wip * wip * wip * wip * wip * clean up * async versions of unimplemented * rename * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * docs * wip * wip * wip * wip * wip * wip * wip * wasm * wip * Remove Wasm from CI for now downloading the toolchain is rate limited by github * wip * fix non-wasi again * add debug * wip * code sign * wip * icon * Swift Testing (#88) * Alternate * wip * wip * wip --------- Co-authored-by: Brandon Williams <[email protected]> * wip * symbol map * delete file * wip * wip * more tests * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Move some tests to the example project. * fix * remove examples project * wip * fix examples * fix * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * fix * fix * wip * wip * wip * wip * wip * wip * wip * wip * more docs * make more things transparent to get better runtime warning placement * dont do transparent on non-apple platforms * wip * wip * wasm * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * update --------- Co-authored-by: Brandon Williams <[email protected]>
1 parent 1ce79a6 commit 926f438

File tree

82 files changed

+4512
-1035
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+4512
-1035
lines changed

.github/workflows/ci.yml

Lines changed: 46 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -13,60 +13,84 @@ concurrency:
1313
cancel-in-progress: true
1414

1515
jobs:
16-
build:
16+
macos:
17+
strategy:
18+
matrix:
19+
config:
20+
- debug
21+
- release
1722
name: macOS
1823
runs-on: macos-14
1924
steps:
2025
- uses: actions/checkout@v4
2126
- name: Select Xcode
2227
run: sudo xcode-select -s /Applications/Xcode_15.4.app
2328
- name: Run tests
24-
run: make test
29+
run: make test-${{ matrix.config }}
30+
31+
examples:
32+
strategy:
33+
matrix:
34+
config:
35+
- Debug
36+
- Release
37+
name: Examples
38+
runs-on: macos-14
39+
steps:
40+
- uses: actions/checkout@v4
41+
- name: Select Xcode
42+
run: sudo xcode-select -s /Applications/Xcode_15.4.app
43+
- name: Run tests
44+
run: CONFIG=${{ matrix.config }} make test-examples
2545

2646
linux:
2747
strategy:
2848
matrix:
29-
swift:
30-
- '5.10'
31-
name: Ubuntu (Swift ${{ matrix.swift }})
49+
config:
50+
- debug
51+
- release
52+
name: Linux
3253
runs-on: ubuntu-latest
33-
container: swift:${{ matrix.swift }}
54+
container: swift:5.10
3455
steps:
3556
- uses: actions/checkout@v4
3657
- name: Install dependencies
3758
run: apt-get update && apt-get install -y build-essential libcurl4-openssl-dev
3859
- name: Run tests
39-
run: make test
60+
run: make test-${{ matrix.config }}
4061
- name: Build for static-stdlib
41-
run: make build-for-static-stdlib
62+
run: CONFIG=${{ matrix.config }} make build-for-static-stdlib
4263

43-
wasm:
44-
name: Wasm
45-
runs-on: ubuntu-latest
46-
steps:
47-
- uses: actions/checkout@v4
48-
- uses: bytecodealliance/actions/wasmtime/setup@v1
49-
- uses: swiftwasm/setup-swiftwasm@v1
50-
with:
51-
swift-version: "wasm-5.9.2-RELEASE"
52-
- name: Build tests
53-
run: swift build --triple wasm32-unknown-wasi --build-tests
54-
- name: Run tests
55-
run: wasmtime --dir . .build/debug/xctest-dynamic-overlayPackageTests.wasm
64+
# NB: Downloading the toolchain gets rate-limited by GitHub
65+
# wasm:
66+
# name: Wasm
67+
# runs-on: macos-14
68+
# steps:
69+
# - uses: actions/checkout@v4
70+
# - name: Select Xcode
71+
# run: sudo xcode-select -s /Applications/Xcode_15.4.app
72+
# - name: Select Swift version
73+
# run: echo 'wasm-DEVELOPMENT-SNAPSHOT-2024-07-08-a' > .swift-version
74+
# - name: Build
75+
# run: swift run carton bundle
5676

5777
windows:
5878
name: Windows
5979
strategy:
6080
matrix:
6181
os: [windows-latest]
62-
config: ['debug', 'release']
82+
config:
83+
- debug
84+
- release
6385
fail-fast: false
6486
runs-on: ${{ matrix.os }}
6587
steps:
6688
- uses: compnerd/gha-setup-swift@main
6789
with:
6890
branch: swift-5.10-release
6991
tag: 5.10-RELEASE
92+
- name: Set long paths
93+
run: git config --system core.longpaths true
7094
- uses: actions/checkout@v4
7195
- name: Build
7296
run: swift build -c ${{ matrix.config }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
.DS_Store
22
/.build
33
/.swiftpm
4+
/archives/
5+
/xcframeworks/
6+
/Bundle
47
/Packages
58
/*.xcodeproj
69
xcuserdata/

.spi.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 1
2+
builder:
3+
configs:
4+
- documentation_targets:
5+
- IssueReporting
6+
- XCTestDynamicOverlay

0 commit comments

Comments
 (0)