Compare commits
1 Commits
prerelease
...
prerelease
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dd750ab164 |
27
.github/workflows/release.yml
vendored
27
.github/workflows/release.yml
vendored
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user