using unique file names to reduce confusion
This commit is contained in:
parent
c0c7187da8
commit
ec419d9772
|
@ -250,17 +250,18 @@ jobs:
|
||||||
- name: Generate Configs for build-target
|
- name: Generate Configs for build-target
|
||||||
if: ${{ matrix.skip-config != 'yes' && env.skip != 'true' }}
|
if: ${{ matrix.skip-config != 'yes' && env.skip != 'true' }}
|
||||||
working-directory: ./firmware/
|
working-directory: ./firmware/
|
||||||
|
# todo: we have code duplication with gen_config.sh here :(
|
||||||
run: |
|
run: |
|
||||||
if [ "${{ matrix.build-target }}" = "kinetis" ]; then
|
if [ "${{ matrix.build-target }}" = "kinetis" ]; then
|
||||||
cd config/boards/kinetis/config
|
cd config/boards/kinetis/config
|
||||||
bash gen_config.sh
|
bash gen_kinetis_config.sh
|
||||||
[ $? -eq 0 ] || { echo "ERROR generating board kinetis kin"; exit 1; }
|
[ $? -eq 0 ] || { echo "ERROR generating board kinetis kin"; exit 1; }
|
||||||
elif [ "${{ matrix.build-target }}" = "cypress" ]; then
|
elif [ "${{ matrix.build-target }}" = "cypress" ]; then
|
||||||
cd config/boards/hellen/cypress/config
|
cd config/boards/hellen/cypress/config
|
||||||
bash gen_config.sh
|
bash gen_cypress_config.sh
|
||||||
[ $? -eq 0 ] || { echo "ERROR generating board hellen_cypress hellen_cypress"; exit 1; }
|
[ $? -eq 0 ] || { echo "ERROR generating board hellen_cypress hellen_cypress"; exit 1; }
|
||||||
elif [ "${{ matrix.build-target }}" = "subaru_eg33_f7" ]; then
|
elif [ "${{ matrix.build-target }}" = "subaru_eg33_f7" ]; then
|
||||||
bash config/boards/subaru_eg33/config/gen_config.sh
|
bash config/boards/subaru_eg33/config/gen_subaru_config.sh
|
||||||
[ $? -eq 0 ] || { echo "ERROR generating board subaru_eg33 subaru_eg33_f7"; exit 1; }
|
[ $? -eq 0 ] || { echo "ERROR generating board subaru_eg33 subaru_eg33_f7"; exit 1; }
|
||||||
else
|
else
|
||||||
bash gen_config_board.sh ${{matrix.folder}} ${{matrix.build-target}} ${{matrix.ini-file}}
|
bash gen_config_board.sh ${{matrix.folder}} ${{matrix.build-target}} ${{matrix.ini-file}}
|
||||||
|
|
|
@ -53,6 +53,7 @@ bash gen_config_default.sh
|
||||||
[ $? -eq 0 ] || { echo "ERROR generating default"; exit 1; }
|
[ $? -eq 0 ] || { echo "ERROR generating default"; exit 1; }
|
||||||
|
|
||||||
|
|
||||||
|
# todo: we have a bit of code duplication with build-firmware.yaml here :(
|
||||||
cd config/boards/kinetis/config
|
cd config/boards/kinetis/config
|
||||||
bash gen_kinetis_config.sh
|
bash gen_kinetis_config.sh
|
||||||
[ $? -eq 0 ] || { echo "ERROR generating board kinetis kin"; exit 1; }
|
[ $? -eq 0 ] || { echo "ERROR generating board kinetis kin"; exit 1; }
|
||||||
|
|
Loading…
Reference in New Issue