-
Notifications
You must be signed in to change notification settings - Fork 23
44 lines (34 loc) · 925 Bytes
/
template.yml
File metadata and controls
44 lines (34 loc) · 925 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
38
39
40
41
42
43
44
name: Workflow template
on:
push:
branches:
- master
pull_request:
branches:
- testing
paths:
- '.github/workflows/*.yml'
- './scripts/*.sh'
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Checkout builder
uses: actions/checkout@v1
- name: Install arm toolchain
run: ./scripts/install_arm.sh
- name: Install ESP-IDF toolchain
run: ./scripts/install_espidf.sh
- name: Checkout ulab/micropython
run: ./scripts/init.sh
- name: Create artifacts directory
run: mkdir ./artifacts
# this section is only for test purposes
# - name: Compile X_X_X port
# if: always()
# run: ./scripts/x_x_x.sh
- name: List artifacts directory
run: ls ./artifacts/* -l