Skip to content

Commit

Permalink
Tidy up mingw job
Browse files Browse the repository at this point in the history
  • Loading branch information
enetheru committed Mar 11, 2024
1 parent dd9c830 commit c7fc153
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions .github/workflows/ci-cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:

jobs:
build-windows-cmake-mingw:
name: 🏁 tesitng mingw
name: 🏁 Windows.MinGW64.windows
runs-on: windows-2019
defaults:
run:
Expand All @@ -34,15 +34,25 @@ jobs:
# Cmake configure and build godot-cpp
- name: Configure godot-cpp
run: |
cmake -DCMAKE_BUILD_TYPE=Release -GNinja .
cmake --build . -j $(nproc) --verbose
run: >-
cmake -B build
-DCMAKE_BUILD_TYPE=Release
-GNinja .
run:
cmake --build build -j $(nproc)

# Configure and build test extension
- name: Configure godot-cpp/test (Linux)
run: |
cd test && cmake -DCMAKE_BUILD_TYPE=Release -DGODOT_HEADERS_PATH="../godot-headers" -DCPP_BINDINGS_PATH=".." -GNinja .
cmake --build . -j $(nproc) --verbose
run:
cd test
run: >-
cmake -B build
-DCMAKE_BUILD_TYPE=Release
-DGODOT_HEADERS_PATH="../godot-headers"
-DCPP_BINDINGS_PATH=".."
-GNinja .
run:
cmake --build build -j $(nproc)

build:
name: ${{ matrix.icon }} ${{ matrix.platform }}(${{matrix.arch}}, ${{ matrix.compiler }} ${{ matrix.extra_label }})
Expand Down

0 comments on commit c7fc153

Please sign in to comment.