From 27dfc233189bd4d1c4447f6cda301a040bb33555 Mon Sep 17 00:00:00 2001 From: project-repo Date: Thu, 20 Apr 2023 12:57:21 +0200 Subject: [PATCH] Try ci for every commit --- .github/workflows/ci.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c4d916..f85f5bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,12 +8,16 @@ jobs: container: image: archlinux:latest steps: + - uses: actions/checkout@v2 + with: fetch-depth: 0 - run: pacman-key --init - run: pacman -Syu --noconfirm git sudo - - run: git clone https://github.com/project-repo/cagebreak - - run: git -C cagebreak checkout feature/continuous-integration - run: cd cagebreak ; bash scripts/install-development-environment - - run: cd cagebreak ; meson setup build -Dxwayland=true -Dman-pages=true --buildtype=release - - run: cd cagebreak ; ninja -C build - - run: cd cagebreak ; meson test -C build --suite devel -v + - run: | + for commit in $(git rev-list ${{ github.base_ref }}..${{ github.head_ref }}); do + cd cagebreak + meson setup build -Dxwayland=true -Dman-pages=true --buildtype=release + ninja -C build + meson test -C build --suite devel -v + done