From 88446a5504d0df4363ddd291d84c10b05e56fc23 Mon Sep 17 00:00:00 2001 From: xTrayambak Date: Mon, 20 Jan 2025 18:13:54 +0530 Subject: [PATCH] (fix) ci: i hate CI --- .github/workflows/build.yml | 8 ++++++-- .github/workflows/ci.yml | 7 +++++-- .github/workflows/test262.yml | 7 +++++-- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 78c27e3..024ba1a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,12 +25,16 @@ jobs: uses: docker://fedora:latest with: args: | - sh -c " - sudo dnf install simdutf gcc gcc-c++ gmp gmp-devel git -y && + 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) + ./init.sh --yes && + export PATH="$HOME/.nimble/bin:$PATH" && nimble build --define:release --define:speed --out:./ && ls bin/ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a08c2e9..9194e17 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,11 +23,14 @@ jobs: uses: docker://fedora:latest with: args: | - sh -c " - sudo dnf install simdutf gcc gcc-c++ gmp gmp-devel git -y && + 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) + ./init.sh --yes && export PATH="$HOME/.nimble/bin:$PATH" && nimble test diff --git a/.github/workflows/test262.yml b/.github/workflows/test262.yml index 72be68f..ea666e6 100644 --- a/.github/workflows/test262.yml +++ b/.github/workflows/test262.yml @@ -23,11 +23,14 @@ jobs: uses: docker://fedora:latest with: args: | - sh -c " - sudo dnf install simdutf gcc gcc-c++ gmp gmp-devel git -y && + 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) + ./init.sh --yes && export PATH="$HOME/.nimble/bin:$PATH" && nimble build --define:release --define:speed --out:./ &&