This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
name: Meson Build and Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["lisp"]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: home-1
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y meson ninja-build gcc
|
||||
|
||||
- name: Configure Meson
|
||||
run: meson setup build
|
||||
|
||||
- name: Build project
|
||||
run: meson compile -C build
|
||||
|
||||
- name: Run tests
|
||||
run: meson test -C build --print-errorlogs || true
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: beluga
|
||||
path: build/
|
||||
Reference in New Issue
Block a user