Skip to content

Commit

Permalink
ci: dont use install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
kreatoo authored Aug 26, 2023
1 parent 95e0487 commit 26c0cc4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,13 @@ jobs:
wget https://github.com/nim-lang/nightlies/releases/download/latest-devel/linux_arm64.tar.xz
tar -xvf linux_arm64.tar.xz
cd nim-*
sudo ./install.sh /usr/bin
sudo cp -rf bin/* /usr/bin
sudo mkdir -p "/usr/include" "/usr/bin" "/etc/nim" "/usr/lib/nim"
sudo cp -r lib/ "/usr/lib/nim"
sudo cp -r compiler/ "/usr/lib/nim"
sudo cp -rf config/* -t "/etc/nim"
sudo cp -rf bin/* -t "/usr/bin"
sudo cp -rf "/usr/lib/nim/"*.h "/usr/include"
sudo rm -rf "/nim"
cd ..
rm -rf nim* linux_arm64.tar.xz
fi
Expand Down

0 comments on commit 26c0cc4

Please sign in to comment.