Skip to content

Commit 96f69e5

Browse files
authored
Release Candidate 1 (#15)
* rc.1 * update tests * readme updates * updates
1 parent 7d32873 commit 96f69e5

File tree

3 files changed

+55
-23
lines changed

3 files changed

+55
-23
lines changed

.github/workflows/test.yml

Lines changed: 36 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,53 @@ name: test
22
on:
33
- pull_request
44
jobs:
5-
bionic:
5+
sqlite-nio_bionic:
66
container:
7-
image: vapor/swift:5.1-bionic
7+
image: vapor/swift:5.2-bionic
88
runs-on: ubuntu-latest
99
steps:
1010
- run: apt update -y; apt install -y libsqlite3-dev
1111
- uses: actions/checkout@v1
1212
- run: swift test --enable-test-discovery --sanitize=thread
13-
xenial:
13+
sqlite-nio_xenial:
1414
container:
15-
image: vapor/swift:5.1-xenial
15+
image: vapor/swift:5.2-xenial
1616
runs-on: ubuntu-latest
1717
steps:
1818
- run: apt update -y; apt install -y libsqlite3-dev
1919
- uses: actions/checkout@v1
2020
- run: swift test --enable-test-discovery --sanitize=thread
21-
mojave:
22-
runs-on: macOS-10.14
21+
# sqlite-nio_catalina:
22+
# runs-on: macOS-10.15
23+
# steps:
24+
# - uses: actions/checkout@v1
25+
# - run: swift test --sanitize=thread
26+
# sqlite-nio_ios13:
27+
# runs-on: macOS-10.15
28+
# steps:
29+
# - uses: actions/checkout@v1
30+
# - run: xcodebuild test -destination 'name=iPhone 11' -scheme 'sqlite-nio'
31+
sqlite-kit:
32+
container:
33+
image: vapor/swift:5.2
34+
runs-on: ubuntu-latest
2335
steps:
24-
- uses: actions/checkout@v1
25-
- run: swift test --sanitize=thread
26-
ios:
27-
runs-on: macOS-10.14
36+
- run: apt update -y; apt install -y libsqlite3-dev
37+
- run: git clone -b master https://github.com/vapor/sqlite-kit.git
38+
working-directory: ./
39+
- run: swift package edit sqlite-nio --revision ${{ github.sha }}
40+
working-directory: ./sqlite-kit
41+
- run: swift test --enable-test-discovery --sanitize=thread
42+
working-directory: ./sqlite-kit
43+
fluent-sqlite-driver:
44+
container:
45+
image: vapor/swift:5.2
46+
runs-on: ubuntu-latest
2847
steps:
29-
- uses: actions/checkout@v1
30-
- run: xcodebuild test -destination 'name=iPhone 11' -scheme 'sqlite-nio'
48+
- run: apt update -y; apt install -y libsqlite3-dev
49+
- run: git clone -b master https://github.com/vapor/fluent-sqlite-driver.git
50+
working-directory: ./
51+
- run: swift package edit sqlite-nio --revision ${{ github.sha }}
52+
working-directory: ./fluent-sqlite-driver
53+
- run: swift test --enable-test-discovery --sanitize=thread
54+
working-directory: ./fluent-sqlite-driver

Package.swift

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
// swift-tools-version:5.1
1+
// swift-tools-version:5.2
22
import PackageDescription
33

44
let package = Package(
55
name: "sqlite-nio",
66
platforms: [
7-
.macOS(.v10_14),
8-
.iOS(.v11)
7+
.macOS(.v10_15),
8+
.iOS(.v13)
99
],
1010
products: [
1111
.library(name: "SQLiteNIO", targets: ["SQLiteNIO"]),
@@ -22,7 +22,11 @@ let package = Package(
2222
.brew(["sqlite3"])
2323
]
2424
),
25-
.target(name: "SQLiteNIO", dependencies: ["CSQLite", "Logging", "NIO"]),
25+
.target(name: "SQLiteNIO", dependencies: [
26+
.target(name: "CSQLite"),
27+
.product(name: "Logging", package: "swift-log"),
28+
.product(name: "NIO", package: "swift-nio"),
29+
]),
2630
.testTarget(name: "SQLiteNIOTests", dependencies: ["SQLiteNIO"]),
2731
]
2832
)

README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
11
<p align="center">
2-
<img src="https://user-images.githubusercontent.com/1342803/58997662-a5209e80-87cb-11e9-859d-e04ec148fd05.png" alt="SQLiteNIO">
2+
<img
3+
src="https://user-images.githubusercontent.com/1342803/58997662-a5209e80-87cb-11e9-859d-e04ec148fd05.png"
4+
height="64"
5+
alt="SQLiteNIO"
6+
>
37
<br>
48
<br>
5-
<a href="https://api.vapor.codes/sqlite-nio/master/SQLiteNIO/index.html">
6-
<img src="http://img.shields.io/badge/api-docs-2196f3.svg" alt="Documentation">
9+
<a href="https://docs.vapor.codes/4.0/">
10+
<img src="http://img.shields.io/badge/read_the-docs-2196f3.svg" alt="Documentation">
711
</a>
812
<a href="https://discord.gg/vapor">
913
<img src="https://img.shields.io/discord/431917998102675485.svg" alt="Team Chat">
1014
</a>
1115
<a href="LICENSE">
1216
<img src="http://img.shields.io/badge/license-MIT-brightgreen.svg" alt="MIT License">
1317
</a>
14-
<a href="https://circleci.com/gh/vapor/sqlite-nio">
15-
<img src="https://circleci.com/gh/vapor/sqlite-nio.svg?style=shield" alt="Continuous Integration">
18+
<a href="https://github.com/vapor/sqlite-nio/actions">
19+
<img src="https://github.com/vapor/sqlite-nio/workflows/test/badge.svg" alt="Continuous Integration">
1620
</a>
1721
<a href="https://swift.org">
18-
<img src="http://img.shields.io/badge/swift-5-brightgreen.svg" alt="Swift 5">
22+
<img src="http://img.shields.io/badge/swift-5.2-brightgreen.svg" alt="Swift 5.2">
1923
</a>
20-
</p>
24+
</p>

0 commit comments

Comments
 (0)