From 84f5e5aac8f16b1052918187d44537cdc23665f7 Mon Sep 17 00:00:00 2001 From: xTrayambak Date: Tue, 21 Jan 2025 13:31:28 +0530 Subject: [PATCH] (fix) ci: final fix, hopefully --- .github/workflows/ci.yml | 37 ----------------------------------- .github/workflows/test262.yml | 1 + 2 files changed, 1 insertion(+), 37 deletions(-) delete mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index f95f19c..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Run internal tests -on: push - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Cache nimble - id: cache-nimble - uses: actions/cache@v4 - with: - path: ~/.nimble - key: ${{ runner.os }}-nimble-${{ hashFiles('*.nimble') }} - restore-keys: | - ${{ runner.os }}-nimble- - - uses: jiro4989/setup-nim-action@v2 - with: - nim-version: '2.2.0' - repo-token: ${{ secrets.GITHUB_TOKEN }} - - - name: Run Bali's internal test suite - uses: docker://fedora:latest - with: - args: | - bash -c " - sudo dnf install cmake make gcc gcc-c++ gmp gmp-devel git -y && - curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh && - chmod +x ./init.sh && - git config --global --add safe.directory /github/workspace && - - git clone https://github.com/simdutf/simdutf && cd simdutf && cmake . && sudo make install -j$(nproc) && cd .. && - - ./init.sh --yes && - export PATH="$HOME/.nimble/bin:$PATH" && - nimble test - " diff --git a/.github/workflows/test262.yml b/.github/workflows/test262.yml index 0516417..4cb6cde 100644 --- a/.github/workflows/test262.yml +++ b/.github/workflows/test262.yml @@ -32,6 +32,7 @@ jobs: git clone https://github.com/simdutf/simdutf && cd simdutf && cmake . && sudo make install -j$(nproc) && cd .. && ./init.sh --yes && + export PATH="$HOME/.nimble/bin:$PATH" && nimble build --define:release --define:speed --out:./ && ls bin/