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)