Compare commits
4 Commits
prerelease
...
prerelease
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dd750ab164 | ||
|
|
922b129250 | ||
|
|
c2df9c0e83 | ||
|
|
923503493e |
22
.github/workflows/release.yml
vendored
22
.github/workflows/release.yml
vendored
@@ -26,8 +26,10 @@ 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
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@@ -72,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 .
|
-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)
|
||||||
@@ -136,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