Create CI testing config

This commit is contained in:
Zachary Hall 2023-11-17 13:46:44 -08:00 committed by GitHub
parent 4f57be188e
commit 5ed74afa0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

26
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: Test on Linux
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt update -y && sudo apt install meson build-essential libmagick++-dev -y
- name: Set up build directory
run: meson setup builddir
- name: Run test script
run: ./test.sh
- name: Upload test artifacts
uses: actions/upload-artifact@v3.1.3
with:
name: test-files
path: testout