Find x64 binaries #613
Workflow file for this run
This file contains hidden or 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: "Unit Testing" | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [macos-latest] | |
| python-version: ["3.11"] | |
| example: | |
| - "examples/espidf-hello-world" | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| submodules: "recursive" | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Show Python arch | |
| run: | | |
| machine | |
| uname -a | |
| uname -p | |
| - name: Show Preinstalled Packages | |
| run: | | |
| pip list | |
| python -c "import os;import sys;print(os.environ.get('PYTHONEXEPATH', os.path.normpath(sys.executable)))" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -U https://github.com/platformio/platformio/archive/develop.zip | |
| pio pkg install --global --platform symlink://. | |
| - name: Build test | |
| continue-on-error: true | |
| run: | | |
| pio run -d ${{ matrix.example }} -v | |
| - name: Show Python arch in venv | |
| run: | | |
| # Avoid local platform.py | |
| cd /tmp | |
| /Users/runner/.platformio/penv/.espidf-5.5.0/bin/python -c "import platform;print(platform.machine())" | |
| /Users/runner/.platformio/penv/.espidf-5.5.0/bin/python -m pip --version | |
| /Users/runner/.platformio/penv/.espidf-5.5.0/bin/python -m pip list | |
| file /Users/runner/.platformio/penv/.espidf-5.5.0/lib/python3.11/site-packages/pydantic_core/_pydantic_core.cpython-311-darwin.so | |
| file /Users/runner/.platformio/penv/.espidf-5.5.0/bin/python | |
| - name: Find x64 binaries | |
| run: | | |
| find ~/.platformio/packages -type f -exec file {} \; | grep -i 'x86_64' | |