Skip to content

Commit

Permalink
workflow: self-host linux toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Sep 4, 2024
1 parent 939e088 commit ec85b7b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ jobs:

- name: Fetch and install toolchain
run: |
curl https://github.com/lux-operating-system/toolchain-x86_64/releases/download/github-runners/toolchain-linux-x86_64.tar.gz -o toolchain-linux-x86_64.tar.gz
tar -xvzf toolchain-linux-x86_64.tar.gz
tar -xvJf https://jewelcodes.io/lux/toolchain-linux-x86_64.tar.xz -o toolchain-linux-x86_64.tar.xz
mv toolchain $HOME/work/toolchain
mv host $HOME/work/host
echo "$HOME/work/toolchain/bin" >> $GITHUB_PATH
Expand All @@ -29,5 +28,5 @@ jobs:

- name: Clean up artifacts
run: |
rm -rf toolchain-linux-x86_64.tar.gz $HOME/work/toolchain $HOME/work/host
rm -rf toolchain-linux-x86_64.tar.xz $HOME/work/toolchain $HOME/work/host
make clean

0 comments on commit ec85b7b

Please sign in to comment.