Skip to content

Commit

Permalink
Merge pull request #27 from Embedded-System-Lovers/update_ci
Browse files Browse the repository at this point in the history
Update ci
  • Loading branch information
ckormanyos authored May 31, 2024
2 parents d782360 + 174afd4 commit a4e6e1e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/RED-V_SiFive_RISC-V_FE310_SoC.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
- name: update-tools
run: |
wget --no-check-certificate https://buildbot.embecosm.com/job/riscv32-gcc-ubuntu2204-release/10/artifact/riscv32-embecosm-ubuntu2204-gcc13.2.0.tar.gz
tar -xzf riscv32-embecosm-ubuntu2204-gcc13.2.0.tar.gz
tar -xzf riscv32-embecosm-ubuntu2204-gcc13.2.0.tar.gz -C ${{ runner.workspace }}
working-directory: ./
- name: target-riscv32-unknown-elf
run: |
PATH=./riscv32-embecosm-ubuntu2204-gcc13.2.0/bin:$PATH
PATH="${{ runner.workspace }}/riscv32-embecosm-ubuntu2204-gcc13.2.0/bin:$PATH"
echo 'query compiler version'
riscv32-unknown-elf-g++ -v
bash ./Rebuild.sh
Expand All @@ -38,12 +38,12 @@ jobs:
- name: update-tools
run: |
wget --no-check-certificate https://buildbot.embecosm.com/job/riscv32-gcc-ubuntu2204-release/10/artifact/riscv32-embecosm-ubuntu2204-gcc13.2.0.tar.gz
tar -xzf riscv32-embecosm-ubuntu2204-gcc13.2.0.tar.gz
tar -xzf riscv32-embecosm-ubuntu2204-gcc13.2.0.tar.gz -C ${{ runner.workspace }}
working-directory: ./
- name: target-riscv32-unknown-elf
run: |
mkdir -p Output && cd Output
PATH=../riscv32-embecosm-ubuntu2204-gcc13.2.0/bin:$PATH
PATH="${{ runner.workspace }}/riscv32-embecosm-ubuntu2204-gcc13.2.0/bin:$PATH"
echo 'query compiler version'
riscv32-unknown-elf-g++ -v
cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchain-unix.cmake .. && make
Expand All @@ -61,13 +61,13 @@ jobs:
run: |
wget --no-check-certificate https://buildbot.embecosm.com/job/riscv32-gcc-macos-release/19/artifact/riscv32-embecosm-macos-gcc13.2.0.dmg
hdiutil attach ./riscv32-embecosm-macos-gcc13.2.0.dmg
mkdir -p ./riscv32-embecosm-macos-gcc13.2.0
cp -rv /Volumes/riscv32-embecosm-macos-gcc13.2.0/riscv32-embecosm-macos-gcc13.2.0 .
cd /Volumes/riscv32-embecosm-macos-gcc13.2.0
cp -r ./riscv32-embecosm-macos-gcc13.2.0 ${{ runner.workspace }}
working-directory: ./
- name: target-riscv32-unknown-elf
run: |
ls -la ./riscv32-embecosm-macos-gcc13.2.0/bin
PATH="./riscv32-embecosm-macos-gcc13.2.0/bin:$PATH"
ls -la ${{ runner.workspace }}/riscv32-embecosm-macos-gcc13.2.0/bin
PATH="${{ runner.workspace }}/riscv32-embecosm-macos-gcc13.2.0/bin:$PATH"
echo 'query compiler version'
riscv32-unknown-elf-g++ -v
bash ./Rebuild.sh
Expand Down

0 comments on commit a4e6e1e

Please sign in to comment.