mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-05-08 11:38:01 +03:00
Fixed git not being used for checking out
Added --log-level verbosity
This commit is contained in:
parent
dc5aeeb4b2
commit
3369296a02
1 changed files with 12 additions and 9 deletions
21
.github/workflows/build-cmake.yml
vendored
21
.github/workflows/build-cmake.yml
vendored
|
@ -35,10 +35,6 @@ jobs:
|
||||||
- ${{github.workspace}}:${{github.workspace}}
|
- ${{github.workspace}}:${{github.workspace}}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
path: 'source'
|
|
||||||
|
|
||||||
- name: Install required packages
|
- name: Install required packages
|
||||||
run: apt update && apt install -y clang-15 cmake ninja-build flex bison git
|
run: apt update && apt install -y clang-15 cmake ninja-build flex bison git
|
||||||
|
|
||||||
|
@ -62,10 +58,15 @@ jobs:
|
||||||
cmake --build SDL-build --config Release --parallel
|
cmake --build SDL-build --config Release --parallel
|
||||||
cmake --install SDL-build
|
cmake --install SDL-build
|
||||||
|
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
path: 'source'
|
||||||
|
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
working-directory: ${{github.workspace}}
|
working-directory: ${{github.workspace}}
|
||||||
run: |
|
run: |
|
||||||
cmake -B ./build \
|
cmake -B ./build \
|
||||||
|
--log-level=VERBOSE \
|
||||||
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
|
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
|
||||||
-DCMAKE_INSTALL_PREFIX='${{github.workspace}}/install' \
|
-DCMAKE_INSTALL_PREFIX='${{github.workspace}}/install' \
|
||||||
-DCMAKE_C_COMPILER=clang-15 \
|
-DCMAKE_C_COMPILER=clang-15 \
|
||||||
|
@ -116,10 +117,6 @@ jobs:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
path: 'source'
|
|
||||||
|
|
||||||
- name: Install required packages
|
- name: Install required packages
|
||||||
working-directory: ${{github.workspace}}
|
working-directory: ${{github.workspace}}
|
||||||
run: |
|
run: |
|
||||||
|
@ -133,10 +130,16 @@ jobs:
|
||||||
cmake --build winflexbison-build --config Release --parallel
|
cmake --build winflexbison-build --config Release --parallel
|
||||||
cmake --install winflexbison-build
|
cmake --install winflexbison-build
|
||||||
|
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
path: 'source'
|
||||||
|
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
working-directory: ${{github.workspace}}
|
working-directory: ${{github.workspace}}
|
||||||
run: |
|
run: |
|
||||||
cmake -B ${{github.workspace}}/build -A ${{ matrix.architecture.config }} `
|
cmake -B ${{github.workspace}}/build `
|
||||||
|
-A ${{ matrix.architecture.config }} `
|
||||||
|
--log-level=VERBOSE `
|
||||||
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} `
|
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} `
|
||||||
-DCMAKE_INSTALL_PREFIX='${{github.workspace}}/install' `
|
-DCMAKE_INSTALL_PREFIX='${{github.workspace}}/install' `
|
||||||
-DGIT_REVISION_BUILD_NUMBER=${{ github.run_number }} `
|
-DGIT_REVISION_BUILD_NUMBER=${{ github.run_number }} `
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue