skip/.github/workflows/main.yml

28 lines
596 B
YAML
Raw Normal View History

2022-01-01 15:49:17 +00:00
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
2022-01-01 16:05:57 +00:00
strategy:
matrix:
zig: [ 0.9.0, master]
2022-01-01 15:49:17 +00:00
steps:
- uses: actions/checkout@v2
- name: Setup Zig
uses: goto-bus-stop/setup-zig@v1.3.0
with:
2022-01-01 16:05:57 +00:00
version: ${{ matrix.zig }}
2022-01-01 16:00:09 +00:00
- run: zig version
- run: zig env
- uses: nektro/actions-setup-zigmod@v1
- run: zigmod ci
- run: zig build test
- run: zig build
- run: cp zig-out/bin/skip .
- run: ./test.sh