mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-05 04:34:23 +02:00
Build windows releases with /MT rather than /MD
When making a release export of a project, binaries built with the /MD flag do not work.
This commit is contained in:
parent
c99a9b4a2e
commit
4cc2115125
4 changed files with 12 additions and 6 deletions
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
|
@ -7,11 +7,12 @@ on:
|
|||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
release-build:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
platform: [ linux, osx, windows ]
|
||||
target: [ release, debug ]
|
||||
bits: [ 64, 32 ]
|
||||
include:
|
||||
- platform: linux
|
||||
|
@ -43,16 +44,19 @@ jobs:
|
|||
cache-name: cache-godot-cpp
|
||||
with:
|
||||
path: addons/godot_xterm/native/external/godot-cpp
|
||||
key: godot-cpp-${{ matrix.platform }}-release-${{ matrix.bits }}-${{ env.GODOT_CPP_COMMIT_HASH }}
|
||||
key: godot-cpp-${{ matrix.platform }}-${{ matrix.target }}-${{ matrix.bits }}-${{ env.GODOT_CPP_COMMIT_HASH }}
|
||||
|
||||
# Ubuntu-specific steps.
|
||||
- name: Install ubuntu build dependencies
|
||||
if: ${{ matrix.os == 'ubuntu-latest' }}
|
||||
run: sudo apt-get install -y scons gcc-multilib g++-multilib
|
||||
|
||||
# MacOS-specific steps.
|
||||
- name: Install additional macos build dependencies
|
||||
if: ${{ matrix.os == 'macos-latest' }}
|
||||
run: brew install scons
|
||||
|
||||
# Windows-specific steps.
|
||||
- name: Install additional windows build dependencies
|
||||
if: ${{ matrix.os == 'windows-latest' }}
|
||||
run: choco install python3 && python -m pip install scons
|
||||
|
@ -63,12 +67,12 @@ jobs:
|
|||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
cd addons/godot_xterm/native/external/godot-cpp
|
||||
scons platform=${{ matrix.platform }} target=release bits=${{ matrix.bits }} generate_bindings=yes -j2
|
||||
scons platform=${{ matrix.platform }} target=${{ matrix.target }} bits=${{ matrix.bits }} generate_bindings=yes -j2
|
||||
|
||||
- name: Build libgodot-xterm
|
||||
run: |
|
||||
cd addons/godot_xterm/native
|
||||
scons platform=${{ matrix.platform }} target=release bits=${{ matrix.bits }} -j2
|
||||
scons platform=${{ matrix.platform }} target=${{ matrix.target }} bits=${{ matrix.bits }} -j2
|
||||
|
||||
- name: Upload build artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue