fix: two bugs found in code review #24
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: Build Examples | |
| on: | |
| push: | |
| branches: [main, master, develop] | |
| pull_request: | |
| branches: [main, master, develop] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| example: | |
| - AutoEnterpriseHunter | |
| - AutonomousHunter | |
| - DeviceFingerprinting | |
| - DynamicControl | |
| - EnterpriseAuditing | |
| - ExportFormats | |
| - FuzzingAndInjection | |
| - SerialStreaming | |
| - StorageAndNVS | |
| - StressTest | |
| - TargetedAuditing | |
| - WigleIntegration | |
| - BtmSteering | |
| - MsChapCapture | |
| - WpsCapture | |
| - KarmaResponder | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.x' | |
| - name: Install PlatformIO | |
| run: pip install platformio intelhex | |
| - name: Cache PlatformIO packages | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.platformio | |
| key: pio-${{ runner.os }}-${{ hashFiles('**/platformio.ini') }} | |
| restore-keys: pio-${{ runner.os }}- | |
| - name: Build ${{ matrix.example }} | |
| working-directory: examples/${{ matrix.example }} | |
| run: pio run |