typo fix #1559
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: Core | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest] | |
python-version: ["3.11"] | |
exclude: | |
- os: macos-latest | |
python-version: "3.6" | |
- os: macos-latest | |
python-version: "3.7" | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: "recursive" | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
# - name: Install zstd for MacOS-14 | |
# if: ${{ matrix.os == 'macos-latest' }} | |
# run: | | |
# brew uninstall --ignore-dependencies zstd | |
# arch -x86_64 brew install zstd | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install platformio | |
- name: Install clang-tidy | |
run: | | |
pio pkg install -g -t [email protected] | |
- name: Run clang-tidy | |
if: always() | |
run: | | |
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/opt/homebrew/lib | |
otool -L ~/.platformio/packages/tool-clangtidy/clang-tidy | |
~/.platformio/packages/tool-clangtidy/clang-tidy --version | |