From f854e71b5d50d9f07b97d8f1627807d37d21c8aa Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Tue, 13 Feb 2024 22:53:52 +0900 Subject: [PATCH] Install gtk4 in CI --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ffd5803..6fb9b2a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,13 @@ jobs: - uses: crystal-lang/install-crystal@v1 with: crystal: latest + - if: matrix.os == 'ubuntu' + run: sudo apt-get install -y libgtk-4-dev + - if: matrix.os == 'macos' + run: brew install gtk4 - name: Install dependencies run: shards install --without-development --release + - name: Run gi-crystal + run: bin/gi-crystal - name: Run specs - run: crystal spec \ No newline at end of file + run: crystal spec