Skip to content

chore: update nuxt config #3

chore: update nuxt config

chore: update nuxt config #3

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Devcontainer Image
uses: docker/build-push-action@v5
with:
context: .
file: ./.devcontainer/Dockerfile
load: true
tags: dev-image:latest
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build and Run Tests
run: |
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace dev-image:latest \
bash -c "cmake -S . -B build -DBUILD_TESTING=ON -DBUILD_PICO=OFF && \
cmake --build build --parallel $(nproc) && \
ctest --test-dir build --output-on-failure"
- name: Build Pico Firmware
run: |
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace dev-image:latest \
bash -c "cmake -S . -B build-pico -DBUILD_PICO=ON && \
cmake --build build-pico --parallel \$(nproc)"