fix release.yml
This commit is contained in:
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@@ -26,8 +26,11 @@ jobs:
|
|||||||
# Windows
|
# Windows
|
||||||
- name: Install build tools (Windows)
|
- name: Install build tools (Windows)
|
||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
run: choco install winflexbison -y
|
run: |
|
||||||
|
choco install winflexbison mingw -y
|
||||||
|
cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@@ -73,7 +76,7 @@ jobs:
|
|||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
run: |
|
run: |
|
||||||
conan install . --build=missing
|
conan install . --build=missing
|
||||||
conan build .
|
conan build . --config Release
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
- name: Determine if prerelease (Linux/macOS)
|
- name: Determine if prerelease (Linux/macOS)
|
||||||
|
|||||||
Reference in New Issue
Block a user