Update uarts #20
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
| on: | |
| pull_request: | |
| branches: | |
| - "*" | |
| jobs: | |
| tests: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| nimversion: | |
| - '2.x' | |
| os: | |
| - ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - uses: iffy/install-nim@v4 | |
| with: | |
| version: ${{ matrix.nimversion }} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Install Deps | |
| run: | | |
| nimble install https://github.com/nim-lang/atlas@\#head | |
| atlas install --feature:examples | |
| - name: Build Tests | |
| run: | | |
| nim test | |
| # - name: Install ESP-IDF | |
| # uses: espressif/install-esp-idf-action@v1 | |
| # with: | |
| # version: "v5.5" | |
| # | |
| # - name: Check esp-idf | |
| # run: | | |
| # idf.py --version | |
| - name: Build Tests | |
| run: | | |
| nim -d:skipEspBuild testExamples | |
| - name: esp-idf build | |
| uses: espressif/esp-idf-ci-action@v1 | |
| with: | |
| esp_idf_version: v5.5 | |
| target: esp32 | |
| path: 'esp-idf-examples/uart_echo' | |