Skip to content

Commit

Permalink
Update YAML for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ckormanyos committed Jun 24, 2024
1 parent bd5db7a commit 55804a7
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/WCH_V307_RISC-V.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,27 @@ jobs:
bash ./Rebuild.sh
ls -la ../Output/BareMetal_WCH_V307_RISC-V.hex
working-directory: ./Build
target-gcc-riscv32-unknown-elf-cmake:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- 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 -C ${{ runner.workspace }}
- name: target-gcc-riscv32-unknown-elf-cmake
run: |
mkdir -p Output && cd Output
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
ls -la ./BareMetal_WCH_V307_RISC-V.hex
target-gcc-riscv32-unknown-elf-macos:
runs-on: macos-latest
defaults:
Expand All @@ -52,24 +73,3 @@ jobs:
bash ./Rebuild.sh
ls -la ../Output/BareMetal_WCH_V307_RISC-V.hex
working-directory: ./Build
target-gcc-riscv-none-embed-cmake:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '0'
- 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 -C ${{ runner.workspace }}
- name: target-riscv-none-embed
run: |
PATH="${{ runner.workspace }}/riscv32-embecosm-ubuntu2204-gcc13.2.0/bin:$PATH"
echo 'query compiler version'
riscv32-unknown-elf-g++ -v
mkdir -p Output && cd Output
cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchain-unix.cmake .. && make
ls -la ./BareMetal_WCH_V307_RISC-V.hex

0 comments on commit 55804a7

Please sign in to comment.