add processing osc examples for sensors #2288
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| tags-ignore: | |
| - '**' | |
| jobs: | |
| build: | |
| name: Build/Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Free Disk Space | |
| uses: jlumbroso/free-disk-space@main | |
| with: | |
| tool-cache: false | |
| android: true | |
| dotnet: true | |
| haskell: true | |
| large-packages: true | |
| swap-storage: true | |
| - name: Pull the repository | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Setup missing directories and files on the runner | |
| run: | | |
| touch ~/.gitconfig | |
| - name: Prepare container | |
| uses: devcontainers/ci@v0.3 | |
| with: | |
| imageName: opendeck # Local name only | |
| imageTag: latest # Local tag only | |
| push: never | |
| - name: Build and test presets | |
| uses: devcontainers/ci@v0.3 | |
| with: | |
| imageName: opendeck | |
| imageTag: latest | |
| push: never | |
| runCmd: | | |
| set -euo pipefail | |
| git fetch --tags | |
| git rev-parse HEAD | |
| git status --short | |
| ./scripts/bulk_build.sh --type=app | |
| ./scripts/bulk_build.sh --type=host-test | |
| ./scripts/copy_release_binaries.sh --build-dir=build --copy-dir=release | |
| - name: Upload firmware artifacts | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: binaries | |
| path: release/* | |
| if-no-files-found: error | |
| format: | |
| name: Code formatting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Pull the repository | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Setup missing directories and files on the runner | |
| run: | | |
| mkdir -p ~/.ssh | |
| touch ~/.gitconfig | |
| - name: Prepare container | |
| uses: devcontainers/ci@v0.3 | |
| with: | |
| imageName: opendeck # Local name only | |
| imageTag: latest # Local tag only | |
| push: never | |
| - name: Check formatting | |
| uses: devcontainers/ci@v0.3 | |
| with: | |
| imageName: opendeck | |
| imageTag: latest | |
| push: never | |
| runCmd: | | |
| make format | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Free Disk Space | |
| uses: jlumbroso/free-disk-space@main | |
| with: | |
| tool-cache: false | |
| android: true | |
| dotnet: true | |
| haskell: true | |
| large-packages: true | |
| swap-storage: true | |
| - name: Pull the repository | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Setup missing directories and files on the runner | |
| run: | | |
| touch ~/.gitconfig | |
| - name: Prepare container | |
| uses: devcontainers/ci@v0.3 | |
| with: | |
| imageName: opendeck # Local name only | |
| imageTag: latest # Local tag only | |
| push: never | |
| - name: Run lint | |
| uses: devcontainers/ci@v0.3 | |
| with: | |
| imageName: opendeck | |
| imageTag: latest | |
| push: never | |
| runCmd: | | |
| set -euo pipefail | |
| ./scripts/bulk_build.sh --type=lint |