switch to a newer riscv toolchain image with a Dockerfile I can edit if I ever want
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -5,15 +5,13 @@ jobs:
|
|||||||
name: Build C code
|
name: Build C code
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: plincar/riscv-gnu-toolchain:2023_03_12
|
image: runtimeverificationinc/riscv-gnu-toolchain:ubuntu-jammy-2024.04.12
|
||||||
# volumes:
|
# volumes:
|
||||||
# - my_docker_volume:/volume_mount
|
# - my_docker_volume:/volume_mount
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Check for executables
|
- name: Check for executables
|
||||||
run: |
|
run: |
|
||||||
# this really should have been added to path at install time when the container was made
|
|
||||||
export PATH=$PATH:/opt/riscv/gnu-toolchain/rv64/bin
|
|
||||||
riscv64-unknown-elf-gcc --version
|
riscv64-unknown-elf-gcc --version
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
@@ -21,5 +19,4 @@ jobs:
|
|||||||
# ls -lah
|
# ls -lah
|
||||||
# cat Makefile
|
# cat Makefile
|
||||||
# make test.hex
|
# make test.hex
|
||||||
export PATH=$PATH:/opt/riscv/gnu-toolchain/rv64/bin
|
|
||||||
riscv64-unknown-elf-as -march=rv32i -mabi=ilp32 test.S -o test.o
|
riscv64-unknown-elf-as -march=rv32i -mabi=ilp32 test.S -o test.o
|
||||||
|
Reference in New Issue
Block a user