Create build_sdk.yml

This commit is contained in:
Michel-FK 2021-04-21 22:43:20 +02:00 committed by GitHub
parent 853d7e3096
commit 44708bfbd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

30
.github/workflows/build_sdk.yml vendored Normal file
View File

@ -0,0 +1,30 @@
name: FunKey-OS Build
on:
workflow_dispatch:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y -q --no-install-recommends make binutils build-essential gcc g++ patch bzip2 perl cpio unzip rsync file bc wget python python-dev xxd libncurses5-dev cvs git mercurial rsync liblscp-dev subversion python3 python3-dev python3-distutils python3-setuptools ca-certificates openssh-client expect locales sudo procps
sudo apt-get -y autoremove
sudo apt-get -y clean
sudo rm -rf /var/lib/apt/lists/*
sudo sed -i 's/# \(en_US.UTF-8\)/\1/' /etc/locale.gen
sudo locale-gen --purge --lang en_US.UTF-8
- name: Build SDK
run: make sdk
- uses: actions/upload-artifact@v2
with:
name: Upload artifacts
path: |
images/*
br.log