-
Notifications
You must be signed in to change notification settings - Fork 78
74 lines (65 loc) · 1.71 KB
/
test-install-script.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
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
70
71
72
73
74
name: test-install-script
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
on:
push:
branches:
- master
paths:
- '.github/workflows/test-install-script.yml'
- 'wall_e_install.sh'
pull_request:
branches:
- master
paths:
- '.github/workflows/test-install-script.yml'
- 'wall_e_install.sh'
jobs:
linux:
strategy:
fail-fast: false
matrix:
include:
- name: Ubuntu 22.04
host_runner: ubuntu-latest
package_manager: apt
docker_image: ubuntu:22.04
- name: Ubuntu 20.04
host_runner: ubuntu-latest
package_manager: apt
docker_image: ubuntu:20.04
- name: Ubuntu 18.04
host_runner: ubuntu-latest
package_manager: apt
docker_image: ubuntu:18.04
name: ${{ matrix.name }}
runs-on: ${{ matrix.host_runner }}
container:
image: ${{ matrix.docker_image }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install ESP-IDF
run: |
bash wall_e_install.sh
macos:
strategy:
matrix:
include:
- name: MacOS-latest
host_runner: macos-latest
name: ${{ matrix.name }}
runs-on: ${{ matrix.host_runner }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install ESP-IDF
run: |
brew uninstall --ignore-dependencies python3
brew cleanup --prune=1 -s
sudo rm -rf /Library/Frameworks/Python.framework/Versions/
brew install python@3.10
bash wall_e_install.sh