From 802cf3d159d1531354e4d240bfc7dec2247b61a1 Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Mon, 16 Feb 2026 16:43:10 +0800 Subject: [PATCH] i386 --- .github/workflows/ci_i386_linux.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci_i386_linux.yml b/.github/workflows/ci_i386_linux.yml index 2021010a88..93dee47ddc 100644 --- a/.github/workflows/ci_i386_linux.yml +++ b/.github/workflows/ci_i386_linux.yml @@ -73,22 +73,21 @@ jobs: - name: Add repo bin to PATH run: echo "${GITHUB_WORKSPACE}/bin" >> ${GITHUB_PATH} - - name: Ensure bin/nim is executable - run: ls -la bin || true + - name: Setup Nim + uses: alaviss/setup-nim@0.1.1 + with: + path: 'nim' + version: ${{ matrix.target.nim_branch }} + architecture: ${{ matrix.target.cpu }} - name: Build koch using existing nim run: | - if [ -x bin/nim ]; then - bin/nim c koch - else - apt-get install -y --no-install-recommends nim || true - nim c koch || true - fi + nim c koch.nim - name: Boot the compiler from the checked-out commit shell: bash run: | - ./koch boot -d:release || ./koch boot + ./koch boot -d:release - name: Show nim version and system info run: |