Lean submodule fetching (don't merge until all green) (#5013)
* remove submodules * check out ChibiOS * oops, try depth * check skip, get libfirmware * lua * uzlib * luaaa * wideband_firmware * remove submodules * googletest * libfirmware * lua * luaaa * wideband_firmware * don't need skip * remove submodules * ChibiOS * libfirmware * lua * wideband_firmware * remove submodules, checkout ibom * remove submodules * remove submodules, checkout firmware stuff * remove submodules * remove submodules * googletest * googletest * libfirmware * lua, wideband_firmware * hw lib * remove fetch-depth: 0 * luaformatter * openblt, luaformatter * install unit test stuff * try fetch depth 2 * need luaformatter for all builds
This commit is contained in:
parent
a7569795a3
commit
04cfee6c65
|
@ -8,8 +8,15 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Checkout Submodules
|
||||
run: |
|
||||
git submodule update --init --depth=1 unit_tests/googletest
|
||||
git submodule update --init --depth=1 firmware/libfirmware
|
||||
git submodule update --init --depth=1 firmware/ext/lua
|
||||
git submodule update --init --depth=1 firmware/controllers/lua/luaaa
|
||||
git submodule update --init --depth=1 firmware/controllers/can/wideband_firmware
|
||||
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
|
|
|
@ -296,8 +296,19 @@ jobs:
|
|||
|
||||
- uses: actions/checkout@v3
|
||||
if: ${{ env.skip != 'true' }}
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Checkout Submodules
|
||||
if: ${{ env.skip != 'true' }}
|
||||
run: |
|
||||
git submodule update --init --depth=1 firmware/ChibiOS
|
||||
git submodule update --init --depth=1 firmware/ChibiOS-Contrib
|
||||
git submodule update --init --depth=1 firmware/libfirmware
|
||||
git submodule update --init --depth=1 firmware/ext/lua
|
||||
git submodule update --init --depth=1 firmware/ext/uzlib
|
||||
git submodule update --init --depth=1 firmware/ext/openblt
|
||||
git submodule update --init --depth=1 firmware/controllers/lua/luaaa
|
||||
git submodule update --init --depth=1 firmware/controllers/can/wideband_firmware
|
||||
git submodule update --init --depth=1 java_console/luaformatter
|
||||
|
||||
- uses: actions/setup-java@v3
|
||||
if: ${{ env.skip != 'true' }}
|
||||
|
@ -450,9 +461,21 @@ jobs:
|
|||
- name: Check branch name
|
||||
if: ${{ contains(github.ref_name, '.') }}
|
||||
run: echo '::error::Branch names must not contain ".", this breaks firmware autoupdates.' && exit 1
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Checkout Submodules
|
||||
run: |
|
||||
git submodule update --init --depth=1 firmware/ChibiOS
|
||||
git submodule update --init --depth=1 firmware/ChibiOS-Contrib
|
||||
git submodule update --init --depth=1 firmware/libfirmware
|
||||
git submodule update --init --depth=1 firmware/ext/lua
|
||||
git submodule update --init --depth=1 firmware/ext/uzlib
|
||||
git submodule update --init --depth=1 firmware/ext/openblt
|
||||
git submodule update --init --depth=1 firmware/controllers/lua/luaaa
|
||||
git submodule update --init --depth=1 firmware/controllers/can/wideband_firmware
|
||||
git submodule update --init --depth=1 java_console/luaformatter
|
||||
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
|
|
|
@ -8,8 +8,15 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Checkout Submodules
|
||||
run: |
|
||||
git submodule update --init --depth=1 unit_tests/googletest
|
||||
git submodule update --init --depth=1 firmware/libfirmware
|
||||
git submodule update --init --depth=1 firmware/ext/lua
|
||||
git submodule update --init --depth=1 firmware/controllers/lua/luaaa
|
||||
git submodule update --init --depth=1 firmware/controllers/can/wideband_firmware
|
||||
git submodule update --init --depth=1 java_console/luaformatter
|
||||
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
|
|
|
@ -9,8 +9,16 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Checkout Submodules
|
||||
run: |
|
||||
git submodule update --init --depth=1 firmware/ChibiOS
|
||||
git submodule update --init --depth=1 firmware/ChibiOS-Contrib
|
||||
git submodule update --init --depth=1 firmware/libfirmware
|
||||
git submodule update --init --depth=1 firmware/ext/lua
|
||||
git submodule update --init --depth=1 firmware/controllers/lua/luaaa
|
||||
git submodule update --init --depth=1 firmware/controllers/can/wideband_firmware
|
||||
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
|
|
|
@ -8,8 +8,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
|
|
|
@ -12,9 +12,14 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Checkout Submodules
|
||||
run: |
|
||||
git submodule update --init --depth=1 unit_tests/googletest
|
||||
git submodule update --init --depth=1 firmware/libfirmware
|
||||
git submodule update --init --depth=1 firmware/ext/lua
|
||||
git submodule update --init --depth=1 firmware/controllers/lua/luaaa
|
||||
git submodule update --init --depth=1 firmware/controllers/can/wideband_firmware
|
||||
|
||||
- name: Discover cores
|
||||
if: ${{ matrix.os != 'macos-latest' }}
|
||||
|
|
|
@ -11,9 +11,14 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Checkout Submodules
|
||||
run: |
|
||||
git submodule update --init --depth=1 unit_tests/googletest
|
||||
git submodule update --init --depth=1 firmware/libfirmware
|
||||
git submodule update --init --depth=1 firmware/ext/lua
|
||||
git submodule update --init --depth=1 firmware/controllers/lua/luaaa
|
||||
git submodule update --init --depth=1 firmware/controllers/can/wideband_firmware
|
||||
|
||||
- name: Install Tools
|
||||
run: |
|
||||
|
|
|
@ -12,8 +12,11 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
fetch-depth: 2
|
||||
|
||||
- name: Checkout Submodules
|
||||
run: |
|
||||
git submodule update --init --depth=1 hardware/rusefi_lib
|
||||
|
||||
- name: Install sshpass, kicad, and tk bindings
|
||||
run: |
|
||||
|
|
|
@ -10,8 +10,6 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Install prerequisite software
|
||||
run: |
|
||||
|
|
|
@ -10,9 +10,10 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Checkout Submodules
|
||||
run: |
|
||||
git submodule update --init --depth=1 hardware/InteractiveHtmlBom
|
||||
|
||||
- name: Install prerequisite software
|
||||
run: |
|
||||
|
|
|
@ -15,8 +15,6 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Install prerequisite software
|
||||
env:
|
||||
|
|
|
@ -35,8 +35,16 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Checkout Submodules
|
||||
run: |
|
||||
git submodule update --init --depth=1 firmware/ChibiOS
|
||||
git submodule update --init --depth=1 firmware/ChibiOS-Contrib
|
||||
git submodule update --init --depth=1 firmware/libfirmware
|
||||
git submodule update --init --depth=1 firmware/ext/lua
|
||||
git submodule update --init --depth=1 firmware/ext/uzlib
|
||||
git submodule update --init --depth=1 firmware/controllers/lua/luaaa
|
||||
git submodule update --init --depth=1 firmware/controllers/can/wideband_firmware
|
||||
|
||||
- name: Identify Agent
|
||||
run: uname -a
|
||||
|
|
|
@ -18,8 +18,6 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Install Tools
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue