From b13c57532c8f79f8a3410a566c61f8122ce4847b Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Tue, 14 Apr 2026 16:44:30 +0800 Subject: [PATCH 1/2] adds a ci --- .github/workflows/ci.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 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..6cf2c16 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,31 @@ +name: CI + +on: + push: + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v6 + + + - name: Setup Nim + uses: alaviss/setup-nim@0.1.1 + with: + version: devel + path: 'nim' + + - name: Nim version + run: nim --version + + - name: install deps + run: | + sudo apt update + sudo apt install libx11-dev libxft-dev fonts-freefont-ttf fonts-dejavu-core + + + - name: Build + run: nimble install From af7ca41e52826fe65a171e76ed7150e089140d7e Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Tue, 14 Apr 2026 16:50:16 +0800 Subject: [PATCH 2/2] Update .github/workflows/ci.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6cf2c16..e6f7270 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,4 +28,4 @@ jobs: - name: Build - run: nimble install + run: nimble install -y