Skip to content

Commit

Permalink
Run CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanreg committed Feb 15, 2024
1 parent 0ff8e5d commit 5ff6384
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/auto-publish.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
name: Auto-Publish
on:
on:
push:
branches: [master]
paths:
- "**.bs"

jobs:
main:
name: Deploy to GitHub pages
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: w3c/spec-prod@v2
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI (Meson)

on:
push:
paths:
- "**.c"
- "**.h"
- "**.py"
pull_request:
paths:
- "**.c"
- "**.h"
- "**.py"

jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
with:
python-version: '3.x'
- run: pip install meson ninja
- run: meson setup builddir/
env:
CC: gcc
- run: meson test -C builddir/ -v
- uses: actions/upload-artifact@v1
if: failure()
with:
name: Linux_Meson_Testlog
path: builddir/meson-logs/testlog.txt

0 comments on commit 5ff6384

Please sign in to comment.