Skip to content

Commit

Permalink
ci: add starter CI file
Browse files Browse the repository at this point in the history
  • Loading branch information
vixalien committed Jun 10, 2024
1 parent 9ad0edd commit 8a1bad4
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Meson Tests

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Meson
run: |
sudo apt-get update
sudo apt-get install meson
- name: Create Build Environment
run: meson setup ${{github.workspace}}/build

- name: Build
working-directory: ${{github.workspace}}/build
shell: bash
run: ninja

- name: Test
working-directory: ${{github.workspace}}/build
shell: bash
run: meson test --suite deno-gi --print-errorlogs

0 comments on commit 8a1bad4

Please sign in to comment.