Skip to content

Commit

Permalink
ci: Update for different boot mode
Browse files Browse the repository at this point in the history
Signed-off-by: Huaqi Fang <[email protected]>
  • Loading branch information
fanghuaqi committed Mar 19, 2021
1 parent 5d7e4cb commit 6721d2f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:
jobs:
# This workflow contains a single job called "build"
build:
name: build for ${{ matrix.core }}
name: build for ${{ matrix.core }} - ${{ matrix.boot_mode }}
runs-on: ubuntu-18.04
strategy:
matrix:
Expand All @@ -42,7 +42,7 @@ jobs:
mv source.tar.gz $base/
- name: Upload source
if: matrix.core == 'ux600'
if: matrix.core == 'ux600' && matrix.boot_mode == 'sd'
uses: actions/[email protected]
with:
name: nuclei_linux_sdk_source
Expand All @@ -63,16 +63,16 @@ jobs:
libgmp-dev libmpfr-dev libmpc-dev gawk libz-dev libssl-dev device-tree-compiler libncursesw5-dev libncursesw5
# Build Freeloader
- name: Build freeloader for ${{ matrix.core }}
- name: Build freeloader for ${{ matrix.core }} - ${{ matrix.boot_mode }}
run: |
make CORE=${{ matrix.core }} BOOT_MODE=${{ matrix.boot_mode }} freeloader
# Build bootimages
- name: Build bootimages for ${{ matrix.core }}
- name: Build bootimages for ${{ matrix.core }} - ${{ matrix.boot_mode }}
run: |
make CORE=${{ matrix.core }} BOOT_MODE=${{ matrix.boot_mode }} bootimages
- name: Upload bootimages
- name: Upload bootimages for ${{ matrix.core }} - ${{ matrix.boot_mode }}
uses: actions/[email protected]
with:
name: bootimages_${{ matrix.core }}_${{ matrix.boot_mode }}
Expand All @@ -81,7 +81,7 @@ jobs:
freeloader/freeloader.elf
- name: Upload cached packages
if: matrix.core == 'ux600'
if: matrix.core == 'ux600' && matrix.boot_mode == 'sd'
uses: actions/[email protected]
with:
name: build_caching
Expand Down

0 comments on commit 6721d2f

Please sign in to comment.