zls/.github/workflows/build_runner.yml
Auguste Rame 121f68b970
Fix build runner (#1029)
* Fix build runner

* Add zls module, bump version

* Fix path from root issue in modules (thanks daremakemyday from Twitch :))

* Libraryify

* remove build_runner backward compatibility

* Remove some `= undefined`s in Server.zig

Makes library use less dangerous

* Consistent mem model + custom build runner possible

* Add build runner utils for third-party tooling

* Make logs removable in libraries with zls_ prefix

* Fix build runner CI

* Expose references

* Use new addModule
2023-03-05 14:08:31 -05:00

40 lines
812 B
YAML

name: BuildRunner
on:
push:
paths:
- ".github/workflows/build_runner.yml"
- "src/special/build_runner.zig"
pull_request:
paths:
- ".github/workflows/build_runner.yml"
- "src/special/build_runner.zig"
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
check_build_runner:
strategy:
matrix:
zig_version: [master]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- name: Grab zig
uses: goto-bus-stop/setup-zig@v1
with:
version: ${{ matrix.zig_version }}
- name: Check build_runner builds on master
run: |
pwd
zig build --build-runner src/special/build_runner.zig