Skip to content

Commit

Permalink
un-Nix in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
kivikakk committed Apr 28, 2024
1 parent 8558d57 commit c1a9526
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 149 deletions.
36 changes: 26 additions & 10 deletions .github/workflows/zig.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,31 @@
on: [push, pull_request]

name: build

on:
push:
pull_request:

jobs:
zig:
name: Build and test
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: goto-bus-stop/setup-zig@v1
with:
version: 0.12.0
- run: zig build
- run: zig build test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- name: Run the Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v2
- run: nix flake check -L
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: goto-bus-stop/setup-zig@v1
with:
version: 0.12.0
- run: zig fmt --check build.zig src/*.zig
99 changes: 0 additions & 99 deletions flake.lock

This file was deleted.

40 changes: 0 additions & 40 deletions flake.nix

This file was deleted.

6 changes: 6 additions & 0 deletions zig.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
id: mr0i9fhju8jho92xf5lct4ywf2hqzjf2esi3jwx87jolclc3
name: htmlentities
main: src/main.zig
license: MIT
description: HTML entity data for Zig.
dependencies:

0 comments on commit c1a9526

Please sign in to comment.