Fix wifi connection setup at boot #144
Workflow file for this run
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: Truncated Cube Lamp CI | |
on: [push] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
- uses: pre-commit/[email protected] | |
build-website: | |
runs-on: ubuntu-latest | |
needs: [lint] | |
container: | |
image: node:16 | |
defaults: | |
run: | |
working-directory: ./website | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: install dependencies | |
run: npm install | |
- name: build | |
run: npm run build | |
- name: package | |
run: npm run package | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: truncated-cube-website | |
path: website/truncated-website-build.tar.gz | |
build-service: | |
runs-on: ubuntu-latest | |
needs: [lint] | |
container: | |
image: ghcr.io/mercotui/truncated_buildenv:latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install dependencies | |
run: git meta sync | |
- name: configure | |
run: mkdir build && cd build && cmake -GNinja ../service | |
- name: build | |
working-directory: ./build | |
run: ninja | |
- name: test | |
working-directory: ./build | |
run: ctest --progress --rerun-failed --output-on-failure |