-
Notifications
You must be signed in to change notification settings - Fork 0
69 lines (62 loc) · 2.79 KB
/
build_firmware.yaml
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
%YAML 1.1
# ^-- ATTN: [2019-12-31] If you use a later version, Github will fail
# with a bogus error message "You have an error in your yaml syntax".
# -*- coding: UTF-8, tab-width: 4 -*-
---
on:
push:
branches:
- '*'
schedule:
- cron: '6 11 * * *'
# because 82h:66m = 3d 11h 6m
jobs:
job_build_nodemcu_for_esp8266:
runs-on: ubuntu-latest
name: '[ESP8266] Make my WiFi+GPIO firmware image'
steps:
- name: '[ESP8266] Check out the repo files'
# This example repo doesn't have any files that would be used,
# so this step is useless for the build.
# It's only here to show how you can do it in your fork.
uses: 'actions/checkout@v2'
- name: '[ESP8266] Actually build the firmware'
uses: 'mk-pmb/nodemcu-firmware-build-as-github-action@experimental'
with:
# firmware_hotfix_cmd: 'source "$INGREDIENTS_REPO_DIR"/ci_hook_merge_firmware_repos.sh'
firmware_repo: 'https://github.com/mk-pmb/nodemcu-firmware.git'
firmware_branch: 'lua53-dev'
firmware_verify_license: 'results/nodemcu_license.txt'
build_custom_make_opts: >
LUA=53
- name: '[ESP8266] Upload the firmware files as artifact'
uses: actions/upload-artifact@v1
with:
name: esp8266_wifigpio_firmware
path: results/
# job_build_nodemcu_for_esp32:
# runs-on: ubuntu-latest
# name: '[ESP32] Make my WiFi+GPIO firmware image'
# steps:
# - name: '[ESP32] Check out the repo files'
# # This example repo doesn't have any files that would be used,
# # so this step is useless for the build.
# # It's only here to show how you can do it in your fork.
# uses: 'actions/checkout@v2'
#
# - name: '[ESP32] Actually build the firmware'
# uses: 'mk-pmb/nodemcu-firmware-build-as-github-action@experimental'
# with:
# # firmware_hotfix_cmd: 'source "$INGREDIENTS_REPO_DIR"/ci_hook_merge_firmware_repos.sh'
# firmware_repo: 'https://github.com/mk-pmb/nodemcu-firmware.git'
# firmware_branch: 'lua53-dev'
# firmware_verify_license: 'results/nodemcu_license.txt'
# build_custom_make_opts: >
# LUA=53
#
# - name: '[ESP32] Upload the firmware files as artifact'
# uses: actions/upload-artifact@v1
# with:
# name: esp32_wifigpio_firmware
# path: results/
...