Skip to content

Commit

Permalink
v0.1.0
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Cruz Viotti <[email protected]>
  • Loading branch information
jviotti committed Jun 3, 2024
1 parent d12422a commit b9d417e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- main
tags:
- "v*.*.*"

concurrency:
group: ${{ github.workflow }}
Expand Down Expand Up @@ -50,7 +52,9 @@ jobs:
run: choco install shellcheck

- run: cmake --version
- name: Configure JSON Schema

- name: Configure JSON Schema (Continuous)
if: github.ref_type == 'branch'
run: >
cmake -S . -B ./build
-DCMAKE_BUILD_TYPE:STRING=Release
Expand All @@ -59,6 +63,18 @@ jobs:
-DJSONSCHEMA_CONTINUOUS:BOOL=ON
-DBUILD_SHARED_LIBS:BOOL=OFF
-DCMAKE_COMPILE_WARNING_AS_ERROR:BOOL=ON
- name: Configure JSON Schema (Release)
if: github.ref_type == 'tag'
run: >
cmake -S . -B ./build
-DCMAKE_BUILD_TYPE:STRING=Release
-DJSONSCHEMA_TESTS:BOOL=ON
-DJSONSCHEMA_TESTS_CI:BOOL=ON
-DJSONSCHEMA_CONTINUOUS:BOOL=OFF
-DBUILD_SHARED_LIBS:BOOL=OFF
-DCMAKE_COMPILE_WARNING_AS_ERROR:BOOL=ON
- run: cmake --build ./build --config Release --parallel 4
- run: >
cmake --install ./build --prefix ./build/dist --config Release --verbose
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.22)
project(jsonschema VERSION 0.0.1 LANGUAGES CXX)
project(jsonschema VERSION 0.1.0 LANGUAGES CXX)
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
include(vendor/noa/cmake/noa.cmake)
include(cmake/CompilerOptions.cmake)
Expand Down

0 comments on commit b9d417e

Please sign in to comment.