Create main.yml

This commit is contained in:
Jacob Stannix 2024-08-22 12:21:23 -06:00 committed by GitHub
parent a4b5a889ce
commit 318b519809
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

29
.github/workflows/main.yml vendored Normal file
View file

@ -0,0 +1,29 @@
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
run: |
sudo apt-get update
sudo apt-get install -y lld llvm llvm-dev clang
- name: Set up Zig
uses: mlugg/setup-zig@v1
- name: Run `build`
run: zig build