20 lines
589 B
YAML
20 lines
589 B
YAML
|
name: CI
|
||
|
on: [push, pull_request]
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v1
|
||
|
- name: install software
|
||
|
run: |
|
||
|
ZIG=$(wget --quiet --output-document=- https://ziglang.org/download/index.json | jq --raw-output '.master."x86_64-linux".tarball')
|
||
|
echo installing $ZIG into ./zig/
|
||
|
wget --quiet --output-document=- $ZIG | tar Jx
|
||
|
mv zig-linux-x86_64-* zig
|
||
|
echo zig version $(./zig/zig version)
|
||
|
- name: build
|
||
|
run: |
|
||
|
export PATH=./zig:$PATH
|
||
|
./ci/linux.sh
|
||
|
|