mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2026-03-18 03:04:44 +01:00
lets try this
This commit is contained in:
parent
480753f86c
commit
9aa0f8b345
33
.github/workflows/build_check.yml
vendored
33
.github/workflows/build_check.yml
vendored
|
|
@ -84,14 +84,31 @@ jobs:
|
|||
env:
|
||||
PLATFORMIO_AUTH_TOKEN: ${{ secrets.PLATFORMIO_AUTH_TOKEN }}
|
||||
steps:
|
||||
- name: Try and fix cryptography
|
||||
run: sudo apt install -y libffi-dev python3-dev libssl-dev
|
||||
- name: Cache pip
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pip-
|
||||
- name: Cache PlatformIO
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.platformio
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.10'
|
||||
- name: Install PlatformIO
|
||||
shell: bash
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install --upgrade platformio
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
- name: list devices
|
||||
run: pio remote device list
|
||||
- name: PlatformIO Test
|
||||
uses: karniv00l/platformio-remote-test-action@v1
|
||||
with:
|
||||
force-remote: true
|
||||
verbose: true
|
||||
upload-port: "/dev/ttyUSB1"
|
||||
test-port: "/dev/ttyUSB1"
|
||||
run: pio remote test -v -r --upload-port /dev/ttyUSB4 --test-port /dev/ttyUSB4
|
||||
|
|
|
|||
Loading…
Reference in a new issue