Linux/MacOS Installations Script Updated #28
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 [email protected] | |
bash wall_e_install.sh |