aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/main.yml
blob: 47b2ee8d861376acd1e882a3a79eb2583c9db70e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Install the latest Zig version
        run: sudo snap install zig --classic --beta

      - uses: actions/checkout@v2

      - name: Run library tests
        run: zig build test

      - name: Run znk tests
        run: zig build test-znk