Replaced READER/WRITER with CONTROLLER/EMULATOR throughout and added … #42
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
name: build | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install RaspberryPi Pico SDK | |
id: pico-sdk | |
run: | | |
cd .. | |
mkdir raspberrypi | |
cd raspberrypi | |
git clone https://github.com/raspberrypi/pico-sdk.git --branch master | |
cd pico-sdk | |
git submodule update --init | |
- name: Setup toolchain | |
id: toolchain | |
run: | | |
sudo apt update | |
sudo apt install -y cmake gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential | |
- name: Check out project | |
uses: actions/checkout@v3 | |
- name: Build | |
run: | | |
echo 'SSID = "XXXX-XXXX-XXXX"' > .credentials | |
echo 'PASSWORD = "zNJAoiLLnzvv8KpPKLyf"' >> .credentials | |
export PICO_SDK_PATH=$(pwd)/../raspberrypi/pico-sdk && make build-all SDK=$(pwd)/../raspberrypi/pico-sdk CREDENTIALS=$(pwd)/.credentials |