Compare commits
3 Commits
prerelease
...
prerelease
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dd750ab164 | ||
|
|
922b129250 | ||
|
|
c2df9c0e83 |
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
@@ -28,7 +28,6 @@ jobs:
|
|||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
run: |
|
run: |
|
||||||
choco install winflexbison mingw -y
|
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
|
||||||
@@ -75,8 +74,20 @@ jobs:
|
|||||||
- name: Install dependencies and build (Windows)
|
- name: Install dependencies and build (Windows)
|
||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
run: |
|
run: |
|
||||||
conan install . --build=missing
|
conan install . \
|
||||||
conan build . --config Release
|
-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
|
shell: pwsh
|
||||||
|
|
||||||
- name: Determine if prerelease (Linux/macOS)
|
- name: Determine if prerelease (Linux/macOS)
|
||||||
@@ -139,5 +150,7 @@ jobs:
|
|||||||
name: Release ${{ github.ref_name }}
|
name: Release ${{ github.ref_name }}
|
||||||
body: Automated release based on tag ${{ github.ref_name }}
|
body: Automated release based on tag ${{ github.ref_name }}
|
||||||
draft: false
|
draft: false
|
||||||
|
updateOnlyUnreleased: true
|
||||||
|
replacesArtifacts: true
|
||||||
prerelease: ${{ runner.os == 'Windows' && steps.prerelease_check_win.outputs.prerelease || steps.prerelease_check_unix.outputs.prerelease }}
|
prerelease: ${{ runner.os == 'Windows' && steps.prerelease_check_win.outputs.prerelease || steps.prerelease_check_unix.outputs.prerelease }}
|
||||||
artifacts: ${{ env.TAR_NAME }}
|
artifacts: ${{ env.TAR_NAME }}
|
||||||
Reference in New Issue
Block a user