-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Huaqi Fang <[email protected]>
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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 | ||
|
@@ -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 }} | ||
|
@@ -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 | ||
|