From dd750ab164583d90e42ceb9f631e91b4311fc97a Mon Sep 17 00:00:00 2001 From: William Bell <62452284+Ugric@users.noreply.github.com> Date: Fri, 15 Aug 2025 20:26:54 +0100 Subject: [PATCH] fix release.yml --- .github/workflows/release.yml | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e305ec1..820f1fd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,19 +23,18 @@ jobs: if: runner.os == 'macOS' run: brew install flex bison - - name: Checkout code - uses: actions/checkout@v3 - with: - submodules: recursive - # Windows - name: Install build tools (Windows) if: runner.os == 'Windows' run: | choco install winflexbison mingw -y - cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ shell: pwsh + - name: Checkout code + uses: actions/checkout@v3 + with: + submodules: recursive + - name: Setup Python (needed for Conan) uses: actions/setup-python@v4 with: @@ -75,8 +74,20 @@ jobs: - name: Install dependencies and build (Windows) if: runner.os == 'Windows' run: | - conan install . --build=missing - conan build . --config Release + conan install . \ + -s compiler=gcc \ + -s compiler.version=13 \ + -s compiler.libcxx=libstdc++11 \ + -s arch=x86_64 \ + -s os=Windows \ + --build=missing + conan install . \ + -s compiler=gcc \ + -s compiler.version=13 \ + -s compiler.libcxx=libstdc++11 \ + -s arch=x86_64 \ + -s os=Windows \ + --build=missing shell: pwsh - name: Determine if prerelease (Linux/macOS)