chore: using zig dependency management #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up LLVM and Clang and curl | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y lld llvm llvm-dev clang libcurl4-openssl-dev | |
- name: Set up Zig | |
uses: mlugg/setup-zig@v1 | |
- name: Run `build` | |
run: | | |
zig build --fetch | |
zig build |