From 5ed74afa0cebdcaedb21bf759e07f0f89bac9cae Mon Sep 17 00:00:00 2001 From: Zachary Hall Date: Fri, 17 Nov 2023 13:46:44 -0800 Subject: [PATCH] Create CI testing config --- .github/workflows/test.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..32e316f --- /dev/null +++ b/.github/workflows/test.yml @@ -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