Skip to content

Update ISL 0.24 and avr-libc #20

Update ISL 0.24 and avr-libc

Update ISL 0.24 and avr-libc #20

Workflow file for this run

##############################################################################
# Copyright Christopher Kormanyos 2023 - 2024.
# Distributed under The Unlicense.
name: build-ubuntu
on:
push:
branches:
- '**'
pull_request:
jobs:
avr-gcc-build-native:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
strategy:
fail-fast: false
matrix:
gccversion: [ 12.3.0, 13.2.0 ]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: update-build-essentials
run: sudo apt install autoconf texinfo xz-utils
- name: avr-gcc-100
run: |
echo 'avr-gcc-100.sh'
./avr-gcc-100.sh ${{ matrix.gccversion }} x86_64-linux-gnu x86_64-linux-gnu
- name: avr-gcc-partially-verify-result
run: |
echo 'avr-gcc partial verify result'
ls -la ${{ runner.workspace }}/avr-gcc-build/local/gcc-${{ matrix.gccversion }}-avr/bin
ls -la ${{ runner.workspace }}/avr-gcc-build/local/gcc-${{ matrix.gccversion }}-avr/bin/avr-gcc
ls -la ${{ runner.workspace }}/avr-gcc-build/local/gcc-${{ matrix.gccversion }}-avr/bin/avr-g++
cd ${{ runner.workspace }}/avr-gcc-build/local
tar -czf gcc-${{ matrix.gccversion }}-avr.tar.gz gcc-${{ matrix.gccversion }}-avr
- uses: actions/upload-artifact@v4
with:
name: gcc-${{ matrix.gccversion }}-avr_x86_64-linux-gnu
path: ${{ runner.workspace }}/avr-gcc-build/local/gcc-${{ matrix.gccversion }}-avr.tar.gz
retention-days: 3
- name: avr-gcc-test-with-real-time-cpp
run: |
echo "test avr-gcc with real-time-cpp"
echo "clone ckormanyos/real-time-cpp"
git clone -b master --depth 1 https://github.com/ckormanyos/real-time-cpp.git ${{ runner.workspace }}/avr-gcc-build/real-time-cpp
cd ${{ runner.workspace }}/avr-gcc-build/real-time-cpp/ref_app
PATH=${{ runner.workspace }}/avr-gcc-build/local/gcc-${{ matrix.gccversion }}-avr/bin:"$PATH"
./target/build/build.sh avr rebuild
ls -la bin/ref_app.elf bin/ref_app.hex
ls -la bin/ref_app.map bin/ref_app.s19
ls -la bin/ref_app_cppfilt.txt
ls -la bin/ref_app_nm.txt
ls -la bin/ref_app_readelf.txt
ls -la bin/ref_app_size.txt