build: support 0.14.0
Unfortunately, this has irreconcilable incompatibilities with previous versions of zig, due to the build.zig.zon schema changes. Support for older versions has been dropped.
This commit is contained in:
10
.github/workflows/ci.yaml
vendored
10
.github/workflows/ci.yaml
vendored
@@ -14,14 +14,16 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
zig-version: ["0.13.0"]
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
zig-version: ["0.14.0"]
|
||||
os: [macos-latest, windows-latest]
|
||||
include:
|
||||
- zig-version: "0.12.1"
|
||||
- zig-version: "0.14.0"
|
||||
os: ubuntu-latest
|
||||
- zig-version: "master"
|
||||
check-format: true
|
||||
|
||||
- zig-version: "master"
|
||||
os: ubuntu-latest
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
||||
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
.zig-cache/
|
||||
zig-out/
|
||||
@@ -1,11 +1,12 @@
|
||||
.{
|
||||
.name = "protobuf_c",
|
||||
.name = .protobuf_c,
|
||||
.fingerprint = 0x39094F755166B308,
|
||||
.version = "1.5.0",
|
||||
.minimum_zig_version = "0.12.0",
|
||||
.minimum_zig_version = "0.14.0",
|
||||
.dependencies = .{
|
||||
.protobuf_c = .{
|
||||
.url = "git+https://github.com/protobuf-c/protobuf-c?ref=v1.5.0#8c201f6e47a53feaab773922a743091eb6c8972a",
|
||||
.hash = "12205a20f38efb23d8f688ddb208047b26235608d9fde4c84ce3302ea156443c2b12",
|
||||
.hash = "N-V-__8AAGKbCgBaIPOO-yPY9ojdsggEeyYjVgjZ_eTITOMw",
|
||||
},
|
||||
},
|
||||
.paths = .{
|
||||
|
||||
@@ -31,6 +31,7 @@ your_exe.linkLibrary(protobuf_c_dep.artifact("protobuf_c"));
|
||||
|
||||
## Version Support Matrix
|
||||
|
||||
| Refname | protobuf-c Version | Zig `0.12.x` | Zig `0.13.x` | Zig `0.14.0-dev` |
|
||||
|----------|--------------------|--------------|--------------|------------------|
|
||||
| `1.5.0` | `1.5.0` | ✅ | ✅ | ✅ |
|
||||
| Refname | protobuf-c Version | Zig `0.14.0` | Zig `0.13.x` | Zig `0.12.x` |
|
||||
|-----------|--------------------|-------------------|--------------|--------------|
|
||||
| `1.5.0+1` | `1.5.0` | ✅ | ❌ | ❌ |
|
||||
| `1.5.0` | `1.5.0` | (as a dependency) | ✅ | ✅ |
|
||||
|
||||
Reference in New Issue
Block a user