Skip to content

Commit

Permalink
(fix) ci: i hate CI
Browse files Browse the repository at this point in the history
  • Loading branch information
xTrayambak committed Jan 20, 2025
1 parent 318dd1e commit 88446a5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/test262.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:./ &&
Expand Down

0 comments on commit 88446a5

Please sign in to comment.