Skip to content

Commit

Permalink
fix: fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
molingyu committed Sep 4, 2024
1 parent 127ef1c commit a88d04b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
timeout-minutes: 4
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
Expand All @@ -33,6 +36,9 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_CXX_COMPILER=clang++-14 -DCMAKE_C_COMPILER=clang
Expand All @@ -50,6 +56,9 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
Expand All @@ -67,6 +76,7 @@ jobs:
steps:

- uses: actions/checkout@v4
- uses: actions/setup-python@v5

- name: Setup MSVC dev command prompt
uses: TheMrMilchmann/setup-msvc-dev@v3
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ set(CMAKE_COMPILE_WARNING_AS_ERROR ON)
add_subdirectory(src)

if (PROJECT_IS_TOP_LEVEL)
option(i18n_format_DOCS "Build the i18n_format documentation" ON)
option(i18n_format_DOCS "Build the i18n_format documentation" OFF)
option(i18n_format_UNIT_TESTS "Build the i18n_format unit tests" ON)

include(GNUInstallDirs)
Expand Down

0 comments on commit a88d04b

Please sign in to comment.