try to build rx using build_util

This commit is contained in:
hathach
2024-06-06 16:07:11 +07:00
parent 90deeddf3d
commit 302445e64f
4 changed files with 20 additions and 7 deletions

View File

@@ -24,7 +24,13 @@ runs:
run: |
mkdir -p ~/cache/${{ inputs.toolchain }}
wget --progress=dot:giga ${{ inputs.toolchain_url }} -O toolchain.tar.gz
tar -C ~/cache/${{ inputs.toolchain }} -xaf toolchain.tar.gz
if [[ ${{ inputs.toolchain }} == rx-gcc ]]; then
mv toolchain.tar.gz toolchain.run
chmod +x toolchain.run
./toolchain.run -p ~/cache/${{ inputs.toolchain }} -y
else
tar -C ~/cache/${{ inputs.toolchain }} -xaf toolchain.tar.gz
endif
shell: bash
- name: Set Toolchain Path