limit artifact to only uf2 for now
due to the large size of combined binaries of all boards + all examples
This commit is contained in:
parent
0a673de78a
commit
c2d8aa0584
|
@ -62,14 +62,10 @@ jobs:
|
||||||
- name: Build
|
- name: Build
|
||||||
run: python3 tools/build_family.py ${{ matrix.family }}
|
run: python3 tools/build_family.py ${{ matrix.family }}
|
||||||
|
|
||||||
- name: test
|
- uses: actions/upload-artifact@v2
|
||||||
run: |
|
with:
|
||||||
ls -a _bin/*
|
name: ${{ matrix.family }}
|
||||||
|
path: _bin/
|
||||||
#- uses: actions/upload-artifact@v2
|
|
||||||
# with:
|
|
||||||
# name: ${{ matrix.family }}
|
|
||||||
# path: _bin/
|
|
||||||
#TODO upload release assest upload
|
#TODO upload release assest upload
|
||||||
|
|
||||||
# Build all no-family (opharned) boards
|
# Build all no-family (opharned) boards
|
||||||
|
|
|
@ -219,9 +219,10 @@ $(BIN):
|
||||||
@$(MKDIR) -p $@
|
@$(MKDIR) -p $@
|
||||||
|
|
||||||
# Copy binaries .elf, .bin, .hex, .uf2 to BIN for upload
|
# Copy binaries .elf, .bin, .hex, .uf2 to BIN for upload
|
||||||
|
# due to large size of combined artifacts, only uf2 is uploaded for now
|
||||||
copy-artifact: $(BIN)
|
copy-artifact: $(BIN)
|
||||||
@$(CP) $(BUILD)/$(PROJECT).elf $(BIN)
|
|
||||||
@$(CP) $(BUILD)/$(PROJECT).bin $(BIN)
|
|
||||||
@$(CP) $(BUILD)/$(PROJECT).hex $(BIN)
|
|
||||||
@$(CP) $(BUILD)/$(PROJECT).uf2 $(BIN)
|
@$(CP) $(BUILD)/$(PROJECT).uf2 $(BIN)
|
||||||
|
#@$(CP) $(BUILD)/$(PROJECT).bin $(BIN)
|
||||||
|
#@$(CP) $(BUILD)/$(PROJECT).hex $(BIN)
|
||||||
|
#@$(CP) $(BUILD)/$(PROJECT).elf $(BIN)
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@ def build_board(example, board):
|
||||||
skip_count += 1
|
skip_count += 1
|
||||||
print(build_format.format(example, board, success, '-', flash_size, sram_size))
|
print(build_format.format(example, board, success, '-', flash_size, sram_size))
|
||||||
else:
|
else:
|
||||||
subprocess.run("make -C examples/{} BOARD={} clean".format(example, board), shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
#subprocess.run("make -C examples/{} BOARD={} clean".format(example, board), shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||||
build_result = subprocess.run("make -j -C examples/{} BOARD={} all".format(example, board), shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
build_result = subprocess.run("make -j -C examples/{} BOARD={} all".format(example, board), shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||||
|
|
||||||
if build_result.returncode == 0:
|
if build_result.returncode == 0:
|
||||||
|
|
Loading…
Reference in New Issue