Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,30 @@ jobs:
os: [ubuntu-latest]
build-options: ["-Dssl=None -Ddisable-zlib -Ddisable-zstd", "-Dssl=OpenSSL", "-Dssl=LibreSSL"]
include:
- zig-version: "0.14.0"
# Test for users that want stability and use older kernel, glibc and zig versions
- zig-version: "0.14.1"
os: ubuntu-22.04 # GLIBC 2.35
build-options: "-Dssl=LibreSSL"
- zig-version: "0.15.2"
os: ubuntu-latest
build-options: "-Dssl=None -Ddisable-zlib -Ddisable-zstd"
- zig-version: "master"
os: macos-latest # Apple Silicon (M1)
build-options: "-Dssl=None"
- zig-version: "master"
os: macos-13 # Intel macOS
os: macos-latest # Apple Silicon
build-options: "-Dssl=LibreSSL"
- zig-version: "master"
os: macos-latest-intel
build-options: "-Dssl=LibreSSL"

runs-on: ${{ matrix.os }}

steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Set up Zig
uses: mlugg/setup-zig@v2
with:
version: ${{ matrix.zig-version }}
use-cache: false

- name: Run `build`
run: zig build ${{ matrix.build-options }} --summary all
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2024 contributors
Copyright (c) 2024-2025 contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,18 @@ Provides a package to be used by the zig package manager for C programs.

## Status

| Architecture \ OS | Linux | MacOS |
|:------------------|:-----------|-------|
| x86_64 |||
| arm 64 | (untested) |* |
| Architecture \ OS | Linux | MacOS |
|:------------------|:-----------|-----------------------|
| x86_64 || |
| arm 64 | (untested) | (not with OpenSSL) |

| Refname | PostgreSQL version | Zig `0.16.x` | Zig `0.15.x` | Zig `0.14.x` | Zig `0.13.x` |
|------------|--------------------|--------------|--------------|--------------|--------------|
| `5.18.1` | `REL_18_1` |||||
| `5.16.4+5` | `REL_16_4` |||||
| `5.16.4+4` | `REL_16_4` |* ||||
| `5.16.4+4` | `REL_16_4` |* ||||
| `5.16.4+3` | `REL_16_4` |||||
| `5.16.4+2` | `REL_16_4` |||||

*: Will not work with OpenSSL

## Use

Expand Down
Loading
Loading