Skip to content

Commit 98ab671

Browse files
committed
ci: does stuff work with old compilers?
1 parent 0693017 commit 98ab671

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,29 @@ jobs:
4545
run: pushd examples; ./build_all.sh || exit; popd
4646
- name: ci-debug-build
4747
run: pushd examples/blink; make debug RAM_START=0x20004000 FLASH_INIT=0x30051 || exit; popd
48+
49+
# Install compiler versions from the oldest current Ubuntu LTS
50+
ci-legacy-compilers:
51+
strategy:
52+
matrix:
53+
os: [ubuntu-22.04]
54+
# The type of runner that the job will run on
55+
runs-on: ${{ matrix.os }}
56+
57+
# Steps represent a sequence of tasks that will be executed as part of the job
58+
steps:
59+
- uses: actions/checkout@v2
60+
with:
61+
submodules: recursive
62+
- uses: carlosperate/arm-none-eabi-gcc-action@v1
63+
with:
64+
release: '10.3-2021.07'
65+
- run: arm-none-eabi-gcc --version
66+
- name: setup-riscv-toolchain
67+
run: sudo apt-get install -y gcc-riscv64-unknown-elf
68+
- name: riscv-toolchain-version
69+
run: riscv64-unknown-elf-gcc --version
70+
#- name: ci-build
71+
# run: pushd examples; ./build_all.sh || exit; popd
72+
- name: ci-debug-build
73+
run: pushd examples/blink; make debug RAM_START=0x20004000 FLASH_INIT=0x30051 || exit; popd

0 commit comments

Comments
 (0)