Skip to content

Commit 14a3eba

Browse files
authored
Merge pull request #8 from kivikakk/unnix-in-ci
un-Nix in CI.
2 parents 8558d57 + c1a9526 commit 14a3eba

File tree

4 files changed

+32
-149
lines changed

4 files changed

+32
-149
lines changed

.github/workflows/zig.yml

+26-10
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,31 @@
1-
on: [push, pull_request]
2-
31
name: build
42

3+
on:
4+
push:
5+
pull_request:
6+
57
jobs:
6-
zig:
7-
name: Build and test
8+
test:
9+
strategy:
10+
matrix:
11+
os: [ubuntu-latest, macos-latest, windows-latest]
12+
runs-on: ${{matrix.os}}
13+
steps:
14+
- uses: actions/checkout@v2
15+
with:
16+
submodules: recursive
17+
- uses: goto-bus-stop/setup-zig@v1
18+
with:
19+
version: 0.12.0
20+
- run: zig build
21+
- run: zig build test
22+
lint:
823
runs-on: ubuntu-latest
924
steps:
10-
- uses: actions/checkout@v3
11-
- name: Install Nix
12-
uses: DeterminateSystems/nix-installer-action@v4
13-
- name: Run the Magic Nix Cache
14-
uses: DeterminateSystems/magic-nix-cache-action@v2
15-
- run: nix flake check -L
25+
- uses: actions/checkout@v2
26+
with:
27+
submodules: recursive
28+
- uses: goto-bus-stop/setup-zig@v1
29+
with:
30+
version: 0.12.0
31+
- run: zig fmt --check build.zig src/*.zig

flake.lock

-99
This file was deleted.

flake.nix

-40
This file was deleted.

zig.mod

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
id: mr0i9fhju8jho92xf5lct4ywf2hqzjf2esi3jwx87jolclc3
2+
name: htmlentities
3+
main: src/main.zig
4+
license: MIT
5+
description: HTML entity data for Zig.
6+
dependencies:

0 commit comments

Comments
 (0)