-
Notifications
You must be signed in to change notification settings - Fork 51
37 lines (28 loc) · 960 Bytes
/
build.yml
File metadata and controls
37 lines (28 loc) · 960 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: build
on:
push:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: apt get
run: |
sudo apt-get update -qq
sudo apt-get install -qq git build-essential clang mingw-w64 libasound2-dev libx11-dev libxext-dev libxrandr-dev libxinerama-dev libxv-dev --no-install-recommends
- name: prepare
run: scripts/build.sh thirdparty
- name: build
run: scripts/build.sh tiny386
- name: esp-idf build
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: v5.2.6
target: esp32s3
command: scripts/build.sh patch_idf && scripts/build.sh esp
- name: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
UPLOADTOOL_ISPRERELEASE: "true"
run: wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh && scripts/build.sh bundle && bash upload.sh tiny386.tar.xz