-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Christopher Kormanyos
committed
Jan 30, 2024
1 parent
85bea6a
commit 5feafd1
Showing
4 changed files
with
160 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
############################################################################## | ||
# Copyright Christopher Kormanyos 2023 - 2024. | ||
# Distributed under The Unlicense. | ||
|
||
name: build-msys64 | ||
on: | ||
push: | ||
branches: | ||
- '**' | ||
pull_request: | ||
jobs: | ||
gcc-v850-unknown-elf-build-msys2: | ||
runs-on: windows-latest | ||
defaults: | ||
run: | ||
shell: msys2 {0} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
gccversion: [ 12.3.0, 13.2.0 ] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: get-nuwen-mingw | ||
shell: cmd | ||
run: | | ||
C:\msys64\usr\bin\echo.exe get-nuwen-mingw | ||
C:\msys64\usr\bin\wget.exe --no-check-certificate https://nuwen.net/files/mingw/mingw-19.0.exe | ||
- name: unpack-nuwen-mingw | ||
shell: cmd | ||
run: | | ||
C:\msys64\usr\bin\echo.exe unpack-nuwen-mingw | ||
start /b /wait ./mingw-19.0.exe -y -gm2 -InstallPath="D:\\a\\gcc-v850-unknown-elf-build\\gcc-v850-unknown-elf-build\\mingw" | ||
- uses: msys2/setup-msys2@v2 | ||
with: | ||
msystem: mingw64 | ||
update: true | ||
install: autoconf automake bzip2 cmake git make ninja patch python texinfo wget | ||
- name: gcc-v850-unknown-elf-100 | ||
run: | | ||
echo 'gcc-v850-unknown-elf-100.sh' | ||
./gcc-v850-unknown-elf-100.sh ${{ matrix.gccversion }} x86_64-w64-mingw32 x86_64-w64-mingw32 /d/a/gcc-v850-unknown-elf-build/gcc-v850-unknown-elf-build/mingw | ||
- name: gcc-v850-unknown-elf-partially-verify-result | ||
run: | | ||
echo 'gcc-v850-unknown-elf partial verify result' | ||
ls -la /d/a/gcc-v850-unknown-elf-build/gcc-v850-unknown-elf-build/local/gcc-${{ matrix.gccversion }}-v850-unknown-elf/bin | ||
ls -la /d/a/gcc-v850-unknown-elf-build/gcc-v850-unknown-elf-build/local/gcc-${{ matrix.gccversion }}-v850-unknown-elf/bin/v850-unknown-elf-gcc.exe | ||
ls -la /d/a/gcc-v850-unknown-elf-build/gcc-v850-unknown-elf-build/local/gcc-${{ matrix.gccversion }}-v850-unknown-elf/bin/v850-unknown-elf-g++.exe | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: gcc-${{ matrix.gccversion }}-avr_x86_64-w64-mingw32 | ||
path: d:/a/gcc-v850-unknown-elf-build/gcc-v850-unknown-elf-build/local/gcc-${{ matrix.gccversion }}-v850-unknown-elf | ||
- name: gcc-v850-unknown-elf-test-with-real-time-cpp | ||
run: | | ||
echo "test gcc-v850-unknown-elf with real-time-cpp" | ||
echo "clone ckormanyos/real-time-cpp" | ||
git clone -b master --depth 1 https://github.com/ckormanyos/real-time-cpp.git /d/a/gcc-v850-unknown-elf-build/gcc-v850-unknown-elf-build/real-time-cpp | ||
rm -rf /d/a/gcc-v850-unknown-elf-build/gcc-v850-unknown-elf-build/local/gcc-${{ matrix.branchname }}-v850-unknown-elf/lib/bfd-plugins | ||
cd /d/a/gcc-v850-unknown-elf-build/gcc-v850-unknown-elf-build/real-time-cpp/ref_app | ||
PATH=/d/a/gcc-v850-unknown-elf-build/gcc-v850-unknown-elf-build/local/gcc-${{ matrix.gccversion }}-v850-unknown-elf/bin:"$PATH" | ||
./target/build/build.sh v850es_fx2 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
############################################################################## | ||
# Copyright Christopher Kormanyos 2023 - 2024. | ||
# Distributed under The Unlicense. | ||
|
||
name: build-ubuntu | ||
on: | ||
push: | ||
branches: | ||
- '**' | ||
pull_request: | ||
jobs: | ||
gcc-v850-unknown-elf-build-native: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: bash | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
gccversion: [ 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: gcc-v850-unknown-elf-100 | ||
run: | | ||
echo 'gcc-v850-unknown-elf-100.sh' | ||
./gcc-v850-unknown-elf-100.sh ${{ matrix.gccversion }} x86_64-linux-gnu x86_64-linux-gnu | ||
- name: gcc-v850-unknown-elf-partially-verify-result | ||
run: | | ||
echo 'gcc-v850-unknown-elf partial verify result' | ||
ls -la ${{ runner.workspace }}/gcc-v850-unknown-elf-build/local/gcc-${{ matrix.gccversion }}-v850-unknown-elf/bin | ||
ls -la ${{ runner.workspace }}/gcc-v850-unknown-elf-build/local/gcc-${{ matrix.gccversion }}-v850-unknown-elf/bin/v850-unknown-elf-gcc | ||
ls -la ${{ runner.workspace }}/gcc-v850-unknown-elf-build/local/gcc-${{ matrix.gccversion }}-v850-unknown-elf/bin/v850-unknown-elf-g++ | ||
cd ${{ runner.workspace }}/gcc-v850-unknown-elf-build/local | ||
tar -czf gcc-${{ matrix.gccversion }}-v850-unknown-elf.tar.gz gcc-${{ matrix.gccversion }}-v850-unknown-elf | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: gcc-${{ matrix.gccversion }}-avr_x86_64-linux-gnu | ||
path: ${{ runner.workspace }}/gcc-v850-unknown-elf-build/local/gcc-${{ matrix.gccversion }}-v850-unknown-elf.tar.gz | ||
retention-days: 3 | ||
- name: gcc-v850-unknown-elf-test-with-real-time-cpp | ||
run: | | ||
echo "test gcc-v850-unknown-elf 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 }}/gcc-v850-unknown-elf-build/real-time-cpp | ||
cd ${{ runner.workspace }}/gcc-v850-unknown-elf-build/real-time-cpp/ref_app | ||
PATH=${{ runner.workspace }}/gcc-v850-unknown-elf-build/local/gcc-${{ matrix.gccversion }}-v850-unknown-elf/bin:"$PATH" | ||
./target/build/build.sh v850es_fx2 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 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters