mirror of
https://github.com/allyourcodebase/lua.git
synced 2026-05-01 11:17:58 +02:00
Create main.yml
This commit is contained in:
parent
a4b5a889ce
commit
318b519809
1 changed files with 29 additions and 0 deletions
29
.github/workflows/main.yml
vendored
Normal file
29
.github/workflows/main.yml
vendored
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue