Skip to content

Commit 44708bf

Browse files
authored
Create build_sdk.yml
1 parent 853d7e3 commit 44708bf

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/build_sdk.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: FunKey-OS Build
2+
3+
on:
4+
workflow_dispatch:
5+
branches: [ master ]
6+
7+
jobs:
8+
build:
9+
10+
runs-on: ubuntu-20.04
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Install dependencies
15+
run: |
16+
sudo apt-get update
17+
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
18+
sudo apt-get -y autoremove
19+
sudo apt-get -y clean
20+
sudo rm -rf /var/lib/apt/lists/*
21+
sudo sed -i 's/# \(en_US.UTF-8\)/\1/' /etc/locale.gen
22+
sudo locale-gen --purge --lang en_US.UTF-8
23+
- name: Build SDK
24+
run: make sdk
25+
- uses: actions/upload-artifact@v2
26+
with:
27+
name: Upload artifacts
28+
path: |
29+
images/*
30+
br.log

0 commit comments

Comments
 (0)