upd: README 2024 Nsec edition. #5
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
# SPDX-FileCopyrightText: 2023 NorthSec | |
# | |
# SPDX-License-Identifier: MIT | |
name: PlatformIO CI | |
on: | |
push: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cache/pip | |
~/.platformio/.cache | |
key: ${{ runner.os }}-pio | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install PlatformIO Core | |
run: pip install --upgrade platformio | |
- name: Build 'conference' firmware | |
run: make ENV=conference VERBOSE="-v" | |
- name: Build 'ctf' firmware | |
run: make ENV=ctf VERBOSE="-v" | |
- name: Build 'addon' firmware | |
run: make ENV=addon VERBOSE="-v" |