-
-
Notifications
You must be signed in to change notification settings - Fork 114
43 lines (41 loc) · 1.39 KB
/
newidf.yml
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
38
39
40
41
42
43
name: new_idf
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
jobs:
build:
strategy:
matrix:
hw_version: [hw1, hw2]
br_config:
[3do, cdi, dreamcast, gamecube, gbahd, genesis, jaguar, jvs_arcade, n64, nes,
parallel_1p, parallel_1p_3v3, parallel_2p, parallel_2p_3v3, pc_engine, pcfx,
playstation, saturn, snes, universal, virtualboy, wii_extension]
include:
- hw_version: dbg
br_config: pad_test
- hw_version: dbg
br_config: qemu
- hw_version: dbg
br_config: qemu_bt_trace_replay
- hw_version: dbg
br_config: qemu_bt_trace_replay_test
runs-on: ubuntu-latest
container:
image: espressif/idf:latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Build with ESP-IDF
run: |
. $IDF_PATH/export.sh
echo "br_version=$(git describe --always --tags --dirty)" >> $GITHUB_ENV
rm -fr build
echo "$(git describe --always --tags --dirty) ${{ matrix.hw_version }} ${{ matrix.br_config }}" | cut -c -31 > version.txt
cat version.txt
cp configs/${{ matrix.hw_version }}/${{ matrix.br_config }} sdkconfig
BR_HW=_${{ matrix.hw_version }} BR_SYS=_${{ matrix.br_config }} idf.py reconfigure build