Skip to content

Commit 3c2e7a4

Browse files
committed
1 parent a982754 commit 3c2e7a4

File tree

599 files changed

+365002
-0
lines changed

Some content is hidden

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

599 files changed

+365002
-0
lines changed

.github/workflows/ci.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: swift-sqlite ci
2+
on:
3+
push:
4+
branches: [ main ]
5+
workflow_dispatch:
6+
pull_request:
7+
branches:
8+
- '*'
9+
schedule:
10+
- cron: '0 6,18 * * *'
11+
jobs:
12+
test:
13+
# emulator fails to launch on ARM macOS with: HVF error: HV_UNSUPPORTED
14+
#runs-on: macos-15
15+
# so we need to run on Intel macOS
16+
runs-on: macos-13
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: "Test Swift Package Locally"
20+
run: swift test
21+
- name: "Test Swift Package on Android"
22+
uses: skiptools/swift-android-action@v1
23+
- name: "Test Swift Package on iOS"
24+
run: xcodebuild test -sdk "iphonesimulator" -destination "platform=iOS Simulator,name=iPhone 15" -scheme "$(xcodebuild -list -json | jq -r '.workspace.schemes[-1]')"
25+
linux:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@v4
29+
- run: swift test
30+
windows:
31+
runs-on: windows-latest
32+
steps:
33+
- uses: compnerd/gha-setup-swift@main
34+
with:
35+
branch: swift-5.9-release
36+
tag: 5.9-RELEASE
37+
- uses: actions/checkout@v4
38+
- run: swift build
39+
- run: swift test
40+

.gitignore

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# OS X
2+
.DS_Store
3+
.*.swp
4+
5+
# Xcode
6+
build/
7+
*.pbxuser
8+
!default.pbxuser
9+
*.mode1v3
10+
!default.mode1v3
11+
*.mode2v3
12+
!default.mode2v3
13+
*.perspectivev3
14+
!default.perspectivev3
15+
xcuserdata
16+
*.xccheckout
17+
*.moved-aside
18+
DerivedData
19+
*.hmap
20+
*.ipa
21+
*.xcuserstate
22+
23+
# Carthage
24+
/Carthage/
25+
26+
# Makefile
27+
bin/
28+
29+
# Swift Package Manager
30+
.build
31+
Packages/
32+
.swiftpm/

0 commit comments

Comments
 (0)