From dc276915d7c8a68bb0a565605a5a7ccd38c9f5a4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 29 Sep 2024 21:38:45 +0530 Subject: [PATCH] Add a test for ./dev.sh to CI --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eff20020ed7..a53dfa43451 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -188,3 +188,23 @@ jobs: - name: Build kitty package run: python3 .github/workflows/ci.py package + + linux-dev: + name: Test ./dev.sh + runs-on: ubuntu-latest + steps: + - name: Checkout source code + uses: actions/checkout@v3 + with: + fetch-depth: 10 + + - name: Install build deps + run: sudo apt-get install -y curl xz-utils build-essential git pkg-config libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libgl1-mesa-dev libxkbcommon-x11-dev libfontconfig-dev libx11-xcb-dev + + - name: Install Go + uses: actions/setup-go@v4 + with: + go-version-file: go.mod + + - name: Build kitty + run: ./dev.sh build