Skip to content

Commit 1cb19d8

Browse files
committed
Use libreSSL compatible with Zig 0.14 to 0.16
1 parent e672758 commit 1cb19d8

3 files changed

Lines changed: 15 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,17 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
zig-version: ["master"]
17+
zig-version: ["0.15.2"]
1818
os: [ubuntu-latest]
1919
build-options: ["-Dssl=None -Ddisable-zlib -Ddisable-zstd", "-Dssl=OpenSSL", "-Dssl=LibreSSL"]
2020
include:
21+
# Test for users that want stability and use older kernel, glibc and zig versions
22+
- zig-version: "0.14.1"
23+
os: ubuntu-22.04 # GLIBC 2.35
24+
build-options: "-Dssl=LibreSSL"
25+
- zig-version: "master"
26+
os: ubuntu-latest
27+
build-options: "-Dssl=LibreSSL"
2128
- zig-version: "master"
2229
os: macos-latest # Apple Silicon
2330
build-options: "-Dssl=LibreSSL"

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ Provides a package to be used by the zig package manager for C programs.
99
| x86_64 |||
1010
| arm 64 | (untested) | ✅ (not with OpenSSL) |
1111

12-
| Refname | PostgreSQL version | Zig `0.16.x` | Zig `0.15.x` | Zig `0.14.x` | Zig `0.13.x` |
13-
|------------|--------------------|--------------|--------------|--------------|--------------|
14-
| `master` | `REL_18_1` |||||
15-
| `5.18.1+1` | `REL_18_1` |||||
16-
| `5.16.4+5` | `REL_16_4` |||||
17-
| `5.16.4+2` | `REL_16_4` |||||
12+
| Refname | PostgreSQL version | Zig `0.16.0-dev` | Zig `0.15.x` | Zig `0.14.x` | Zig `0.13.x` |
13+
|------------|--------------------|------------------|--------------|--------------|--------------|
14+
| `5.18.1+2` | `REL_18_1` |||||
15+
| `5.16.4+5` | `REL_16_4` |||||
16+
| `5.16.4+2` | `REL_16_4` |||||
1817

1918
## Use
2019

build.zig.zon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
.lazy = true,
1515
},
1616
.libressl = .{
17-
.url = "git+https://github.com/allyourcodebase/libressl?ref=zig-0.16#e8f79856c79117d3f90fb9466f07fe40326dc5ea",
18-
.hash = "libressl-4.0.0--kqV4CnYAACipI0uyGhRMjpZU1JlcIrtPslSCMO0nLsj",
17+
.url = "git+https://github.com/allyourcodebase/libressl?ref=simplify-installheader#de575d3584026c369754562f1330e3103158fa7d",
18+
.hash = "libressl-4.0.0--kqV4KPTAACsSRP8mSIZmqgVa5OZjw6WEgvcftWkLu-c",
1919
.lazy = true,
2020
},
2121
.zlib = .{

0 commit comments

Comments
 (0)