Skip to content

build: freeloader use dtb generated from conf/*.dts not uboot #180

build: freeloader use dtb generated from conf/*.dts not uboot

build: freeloader use dtb generated from conf/*.dts not uboot #180

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Build
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the dev_nuclei branch
on:
push:
branches: [ dev* ]
paths-ignore:
- README.md
- LICENSE
- .gitlab-ci.yml
- .gitignore
pull_request:
branches: [ dev_nuclei ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
name: build for ${{ matrix.core }}
runs-on: ubuntu-18.04
strategy:
matrix:
core: [ux600, ux600fd]
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout Linux SDK Code
uses: actions/checkout@v2
with:
submodules: recursive
- name: Tarball source
run: |
base=$(basename $PWD)
cd ..
tar czvf source.tar.gz --exclude-vcs -C $base .
mv source.tar.gz $base/
- name: Upload source
if: matrix.core == 'ux600'
uses: actions/[email protected]
with:
name: nuclei_linux_sdk_source
path: source.tar.gz
# continue build on error
continue-on-error: true
- name: Caching packages
uses: actions/cache@v2
with:
path: buildroot/dl
key: build
# Install dependendenc
- name: Install dependencies
run: |
sudo apt-get install build-essential git autotools-dev cmake texinfo bison minicom flex liblz4-tool \
libgmp-dev libmpfr-dev libmpc-dev gawk libz-dev libssl-dev device-tree-compiler libncursesw5-dev libncursesw5
# Build 4M Freeloader
- name: Build freeloader4m for ${{ matrix.core }}
run: |
make CORE=${{ matrix.core }} freeloader4m
cp freeloader/freeloader.elf work/freeloader4m.elf
# Build Freeloader
- name: Build freeloader for ${{ matrix.core }}
run: |
make cleanbuildroot
make cleansysroot
make cleanfreeloader
make cleanboot
make CORE=${{ matrix.core }} freeloader
# Build bootimages
- name: Build bootimages for ${{ matrix.core }}
run: |
make CORE=${{ matrix.core }} bootimages
- name: Upload bootimages
uses: actions/[email protected]
with:
name: bootimages_${{ matrix.core }}
path: |
work/boot.zip
freeloader/freeloader.elf
work/freeloader4m.elf
- name: Upload cached packages
if: matrix.core == 'ux600'
uses: actions/[email protected]
with:
name: build_caching
path: |
buildroot/dl