Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This starter workflow is for a CMake project running on multiple platforms. There is a different starter workflow if you just want a single platform.
# See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-single-platform.yml
name: CI
permissions:
contents: read

on:
push:
#branches: [ "master" ]
pull_request:
#branches: [ "master" ]

jobs:
check_schema:
runs-on: ubuntu-latest

strategy:
# Set fail-fast to false to ensure that feedback is delivered for all matrix combinations. Consider changing this to true when your workflow is stable.
fail-fast: false

steps:
- uses: actions/checkout@v4

- name: Dependencies
shell: bash
run: |
pipx install check-jsonschema

- name: Check
# Execute tests defined by the CMake configuration. Note that --build-config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
working-directory: .
run: |
./scripts/check_schema.sh

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"header": {
"schema_version" : "0.1.0",
"manufacturer" : "arri",
"model" : "d21",
"manufacturer" : "ARRI",
"model" : "D21",
"catalog_number" : "camera_arri_d21_0.1.0",
"description" : "camera spectral sensitivity data",
"document_creator" : "scitech",
Expand Down
Loading