From a2ec7dec62537889b0d545e3a906de0e64316b39 Mon Sep 17 00:00:00 2001 From: project-repo Date: Tue, 18 Apr 2023 21:57:52 +0200 Subject: [PATCH] Add attempt at ci --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..c42bfb4 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: ci + +on: + push: + branches: [ "feature/continuous-integration", "development" ] + +jobs: + + linux: + runs-on: archlinux-latest + steps: + - uses: actions/checkout@v3 + - run: bash scripts/install-development-environment + - run: meson setup build/ -Dxwayland=true -Dman-pages=true --buildtype=release + - run: ninja -C build/ + - run: meson test -C build/ + - uses: actions/upload-artifact@v1 + if: failure() + with: + name: Cagebreak_Meson_Testlog + path: builddir/meson-logs/testlog.txt +