|
1 | 1 | # ------------------------------------------------------------------------------ |
2 | | -# Copyright Matt Borland 2023 - 2024. |
3 | | -# Copyright Christopher Kormanyos 2023 - 2024. |
| 2 | +# Copyright Matt Borland 2023 - 2025. |
| 3 | +# Copyright Christopher Kormanyos 2023 - 2025. |
4 | 4 | # Distributed under the Boost Software License, |
5 | 5 | # Version 1.0. (See accompanying file LICENSE_1_0.txt |
6 | 6 | # or copy at http://www.boost.org/LICENSE_1_0.txt) |
@@ -33,20 +33,20 @@ jobs: |
33 | 33 | wget http://security.ubuntu.com/ubuntu/pool/universe/n/ncurses/libncursesw5_6.3-2ubuntu0.1_amd64.deb |
34 | 34 | sudo apt install ./libncursesw5_6.3-2ubuntu0.1_amd64.deb |
35 | 35 | mkdir -p emu_env && cd emu_env |
36 | | - wget --no-check-certificate https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi.tar.xz |
37 | | - tar -xf arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi.tar.xz |
| 36 | + wget --no-check-certificate https://developer.arm.com/-/media/Files/downloads/gnu/14.3.rel1/binrel/arm-gnu-toolchain-14.3.rel1-x86_64-arm-none-eabi.tar.xz |
| 37 | + tar -xf arm-gnu-toolchain-14.3.rel1-x86_64-arm-none-eabi.tar.xz |
38 | 38 | wget --no-check-certificate https://github.com/xpack-dev-tools/qemu-arm-xpack/releases/download/v8.2.6-1/xpack-qemu-arm-8.2.6-1-linux-x64.tar.gz |
39 | 39 | tar -xzf xpack-qemu-arm-8.2.6-1-linux-x64.tar.gz |
40 | 40 | working-directory: ./test/metal/ |
41 | 41 | - name: build benchmark_single-stm32f429 |
42 | 42 | run: | |
43 | | - PATH="${{ runner.workspace }}/decimal/test/metal/emu_env/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi/bin:$PATH" |
| 43 | + PATH="${{ runner.workspace }}/decimal/test/metal/emu_env/arm-gnu-toolchain-14.3.rel1-x86_64-arm-none-eabi/bin:$PATH" |
44 | 44 | echo 'Query arm-none-eabi-g++ version' |
45 | 45 | echo |
46 | 46 | arm-none-eabi-g++ -v |
47 | 47 | echo |
48 | 48 | mkdir -p bin |
49 | | - arm-none-eabi-g++ -std=c++20 -Wall -Wextra -Wpedantic -Os -g -gdwarf-2 -ffunction-sections -fdata-sections -x c++ -fno-rtti -fno-use-cxa-atexit -fno-exceptions -fno-nonansi-builtins -fno-threadsafe-statics -fno-enforce-eh-specs -fno-inline-functions -mcpu=cortex-m4 -mtune=cortex-m4 -mthumb -mfloat-abi=soft -mno-unaligned-access -mno-long-calls -I../../include -DBOOST_DECIMAL_DISABLE_CLIB -DAPP_BENCHMARK_STANDALONE_MAIN app_benchmark_non_std_decimal.cpp ./target/micros/stm32f429/make/single/crt.cpp ./target/micros/stm32f429/make/single/mcal_gcc_cxx_completion_with_stdlib.cpp -nostartfiles -Wl,--gc-sections -Wl,-Map,./bin/app_benchmark_non_std_decimal.map -T ./target/micros/stm32f429/make/stm32f429.ld --specs=nano.specs --specs=nosys.specs -Wl,--print-memory-usage -o ./bin/app_benchmark_non_std_decimal.elf |
| 49 | + arm-none-eabi-g++ -std=c++23 -Wall -Wextra -Wpedantic -Wconversion -Wsign-conversion -Wunused-parameter -Wuninitialized -Wshadow -Os -g -gdwarf-2 -ffunction-sections -fdata-sections -x c++ -fno-rtti -fno-use-cxa-atexit -fno-exceptions -fno-nonansi-builtins -fno-threadsafe-statics -fno-enforce-eh-specs -fno-inline-functions -mcpu=cortex-m4 -mtune=cortex-m4 -mthumb -mfloat-abi=soft -mno-unaligned-access -mno-long-calls -I../../include -DBOOST_DECIMAL_DISABLE_CLIB -DAPP_BENCHMARK_STANDALONE_MAIN app_benchmark_non_std_decimal.cpp ./target/micros/stm32f429/make/single/crt.cpp ./target/micros/stm32f429/make/single/mcal_gcc_cxx_completion_with_stdlib.cpp -nostartfiles -Wl,--gc-sections -Wl,-Map,./bin/app_benchmark_non_std_decimal.map -T ./target/micros/stm32f429/make/stm32f429.ld --specs=nano.specs --specs=nosys.specs -Wl,--print-memory-usage -o ./bin/app_benchmark_non_std_decimal.elf |
50 | 50 | arm-none-eabi-objcopy ./bin/app_benchmark_non_std_decimal.elf -O ihex ./bin/app_benchmark_non_std_decimal.hex |
51 | 51 | ls -la ./bin/app_benchmark_non_std_decimal.elf ./bin/app_benchmark_non_std_decimal.hex ./bin/app_benchmark_non_std_decimal.map |
52 | 52 | working-directory: ./test/metal/ |
|
59 | 59 | - name: run-test-on-target |
60 | 60 | run: | |
61 | 61 | sleep 2 |
62 | | - PATH="${{ runner.workspace }}/decimal/test/metal/emu_env/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi/bin:$PATH" |
| 62 | + PATH="${{ runner.workspace }}/decimal/test/metal/emu_env/arm-gnu-toolchain-14.3.rel1-x86_64-arm-none-eabi/bin:$PATH" |
63 | 63 | echo 'Run test on target' |
64 | 64 | echo |
65 | 65 | arm-none-eabi-gdb ./bin/app_benchmark_non_std_decimal.elf -x ./target/build/test_app_benchmarks_emulator.gdb > ./app_benchmark_non_std_decimal.txt |
|
0 commit comments