From 60264c6ffb394d9429a208b26e3b54e3c552acb2 Mon Sep 17 00:00:00 2001 From: wolfgitpr <133209402+wolfgitpr@users.noreply.github.com> Date: Sat, 23 Nov 2024 09:01:22 +0800 Subject: [PATCH] test ci --- .github/workflows/ci.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b6f07cc..ba893b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,10 +71,17 @@ jobs: - name: Install dependencies (MinGW) run: | sudo apt-get update - sudo apt-get install -y mingw-w64 cmake autoconf-archive - - name: Build with CMake (MinGW) + sudo apt-get install -y mingw-w64 cmake autoconf-archive build-essential + - name: Create build directory run: | mkdir -p build + - name: Build with CMake (MinGW) + run: | cd build - cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../mingw-toolchain.cmake -DRTMIDI_API_${{ matrix.api }}=ON + cmake .. \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_TOOLCHAIN_FILE=../mingw-toolchain.cmake \ + -DRTMIDI_API_${{ matrix.api }}=ON \ + -G "MinGW Makefiles" # Use MinGW-specific makefiles cmake --build . --config Release +