From 9f50119863f757276b12edc2fabd787d61eaa725 Mon Sep 17 00:00:00 2001 From: thatben Date: Mon, 2 Jun 2025 16:34:51 +0200 Subject: [PATCH] attempt to set ci --- .github/workflows/main.yml | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c6671c4..b1016a4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,7 +20,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macOS-latest, windows-latest] - nim: [2.0.14] + nim: [2.2.4] steps: - uses: actions/checkout@v2 with: @@ -30,22 +30,18 @@ jobs: with: version: ${{ matrix.nim }} - - name: Enable git long paths + - name: Build Nim and dependencies run: | - git config --system core.longpaths true + which gcc + gcc --version + make -j${ncpu} update + ./env.sh nim --version + make -j${ncpu} - - name: Update nimble + - name: Run tests run: | - nimble install nimble - nimble --version + make -j${ncpu} test - - name: Use updated nimble version on Windows - if: contains(matrix.os, 'windows') + - name: Build crawler run: | - del $HOME\.nimble\bin\nimble.exe - nimble --version - - - name: Build - run: nimble build -y - - name: Test - run: nimble test -y + make -j${ncpu}