Skip to content

workaround to fix the x86_64 build #12

workaround to fix the x86_64 build

workaround to fix the x86_64 build #12

Workflow file for this run

name: Lint and test
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Set up Zig
uses: korandoru/setup-zig@v1
with:
zig-version: master
- name: Build
run: git submodule update --init --recursive && zig build
lint:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Set up Zig
uses: korandoru/setup-zig@v1
with:
zig-version: master
- name: Lint
run: zig fmt --check src/*.zig
test:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Set up Zig
uses: korandoru/setup-zig@v1
with:
zig-version: master
- name: Test
run: git submodule update --init --recursive && zig build test
build-aarch64:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Set up Zig
uses: korandoru/setup-zig@v1
with:
zig-version: 0.11.0
- name: Test
run: git submodule update --init --recursive && zig build -Dtarget="aarch64-linux"