aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/main.yml
blob: 544d23a148af4ac66ee6fe5e0361033e1bbdf66b (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 --edge

      - uses: actions/checkout@v2

      - name: Run library tests
        run: zig build test

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