Skip to content

Commit

Permalink
ci: test with Zig 0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ianprime0509 committed Apr 23, 2024
1 parent 070f84b commit 91aaa63
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,16 @@ concurrency:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
zig-version: [0.12.0, master]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Zig
uses: goto-bus-stop/setup-zig@v2
with:
version: ${{ matrix.zig-version }}
- name: Test
run: zig build test
- name: Build examples
Expand Down
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
# zig-xml

zig-xml is an XML library for Zig.

**Warning:** this library is still in early development. It has been reasonably
well-tested at this point, but it is lacking some important features, and its
performance is not ideal. If you need a stable and well-tested XML library,
[zig-libxml2](https://github.com/mitchellh/zig-libxml2) is probably your best
bet (build setup for the popular libxml2 C library).
zig-xml is an XML library for Zig, currently supporting Zig 0.12.0 and the
latest master at the time of writing.

See the documentation in the code for more information about the available APIs
(start in `xml.zig`). Autodocs are also published to GitHub Pages:
Expand Down
4 changes: 2 additions & 2 deletions bench/build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
.path = "..",
},
.libxml2 = .{
.url = "git+https://github.com/ianprime0509/zig-libxml2#4c370e70136fb96f227b95b30a4c1f5ec4dc013c",
.hash = "1220869e0007bf4a7fe10d86ccb24a6bf09d32714d6432d2cc6e5b2a7be0ad55e3b7",
.url = "git+https://github.com/ianprime0509/zig-libxml2#9a88110c7ea7a541cb6ead6a648c69a8fc929141",
.hash = "1220b556b7c193580caa53db7e95ad31c0ac589af8adcd894594b93dd1f7875b9405",
},
.mxml = .{
.url = "git+https://github.com/michaelrsweet/mxml.git#809204a3051607f54b57e2950f3a5520d79ae383",
Expand Down

0 comments on commit 91aaa63

Please sign in to comment.