Skip to content

Commit

Permalink
Repair CI typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ckormanyos committed Nov 23, 2024
1 parent 43c65b3 commit bbf62fb
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 137 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/wide_integer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ jobs:
string: ${{ matrix.example }}
- name: build-example-stm32f429
run: |
PATH="${{ runner.workspace }}/wide_integer/emu_env/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi/bin:$PATH"
PATH="${{ runner.workspace }}/wide-integer/emu_env/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi/bin:$PATH"
echo 'Query arm-none-eabi-g++ version'
echo
arm-none-eabi-g++ -v
Expand All @@ -645,17 +645,17 @@ jobs:
working-directory: ./
- name: emulate-target stm32f429
run: |
PATH="${{ runner.workspace }}/wide_integer/emu_env/xpack-qemu-arm-8.2.6-1/bin:$PATH"
PATH="${{ runner.workspace }}/wide-integer/emu_env/xpack-qemu-arm-8.2.6-1/bin:$PATH"
qemu-system-gnuarmeclipse --verbose --mcu STM32F429ZI --nographic --gdb tcp::9999 -d unimp,guest_errors &
sleep 2
working-directory: ./
- name: run-test-on-target
run: |
sleep 2
PATH="${{ runner.workspace }}/wide_integer/emu_env/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi/bin:$PATH"
PATH="${{ runner.workspace }}/wide-integer/emu_env/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi/bin:$PATH"
echo 'Run test on target'
echo
arm-none-eabi-gdb ./bin/${{ matrix.example }}.elf -x ./target/build/test_app_benchmarks_emulator.gdb > ./${{ matrix.example }}.txt
arm-none-eabi-gdb ./bin/${{ matrix.example }}.elf -x ./target/build/test_examples_emulator.gdb > ./${{ matrix.example }}.txt
cat ./${{ matrix.example }}.txt
echo
echo 'We will now grep for the right answer...'
Expand Down
29 changes: 29 additions & 0 deletions target/build/test_examples_emulator.gdb
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#///////////////////////////////////////////////////////////////////
#// Copyright Christopher Kormanyos 2020 - 2024. //
#// Distributed under the Boost Software License, //
#// Version 1.0. (See accompanying file LICENSE_1_0.txt //
#// or copy at http://www.boost.org/LICENSE_1_0.txt) //
#///////////////////////////////////////////////////////////////////


# Connect to the target (e.g., OpenOCD or another GDB server).
target remote localhost:9999
monitor halt

# Ensure that the program is loaded.
load

# Set a breakpoint at the specified subroutine.
break app_benchmark_get_standalone_result

# Start or continue program execution.
continue

# Format and print the value of a variable.
printf "value 0x%X\n\n", app_benchmark_standalone_result

# Delete (all) breakpoint(s).
delete

# Perform a non-elegant quit of the GDB session.
quit
131 changes: 0 additions & 131 deletions target/build/test_examples_emulator.py

This file was deleted.

2 changes: 1 addition & 1 deletion wide_integer_vs2022.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@
<None Include="README.md" />
<None Include="run_fuzzing.sh" />
<None Include="sonar-project.properties" />
<None Include="target\build\test_examples_emulator.py">
<None Include="target\build\test_examples_emulator.gdb">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
Expand Down
2 changes: 1 addition & 1 deletion wide_integer_vs2022.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@
<Filter>.github\workflows</Filter>
</None>
<None Include="codecov.yml" />
<None Include="target\build\test_examples_emulator.py">
<None Include="target\build\test_examples_emulator.gdb">
<Filter>target\build</Filter>
</None>
<None Include="target\micros\stm32f429\make\stm32f429.ld">
Expand Down

0 comments on commit bbf62fb

Please sign in to comment.