Skip to content

Commit

Permalink
Workflow LTO support
Browse files Browse the repository at this point in the history
  • Loading branch information
Akashem06 committed Nov 3, 2024
1 parent 67c4e1f commit 6df7a3a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,15 @@ jobs:
- name: Build stm32f10x
id: build-stm32
run: |
sudo apt-get update
sudo apt-get install -y binutils-plugin-dev
export AR=arm-none-eabi-gcc-ar
export RANLIB=arm-none-eabi-gcc-ranlib
export NM=arm-none-eabi-gcc-nm
export LTO_PLUGIN="${HOME}/${GCC_PATH}/lib/gcc/arm-none-eabi/13.2.1/liblto_plugin.so"
scons --platform=arm --define="${DEFINES}"
- name: Build and test
Expand Down

0 comments on commit 6df7a3a

Please sign in to comment.