Issue #17 Disable building xswiftbus for 32bits

This commit is contained in:
Mat Sutcliffe
2020-05-21 00:10:57 +01:00
parent 9679f318c1
commit bfa82affb9
5 changed files with 9 additions and 8 deletions

View File

@@ -298,11 +298,6 @@ jobs:
with:
name: swiftsymbols-allos-${{ needs.preBuild.outputs.version }}
path: ${{ github.workspace }}/swiftsymbols-*
- name: Upload xswiftbus
uses: actions/upload-artifact@v2
with:
name: xswiftbus-thin-allos-${{ needs.preBuild.outputs.version }}
path: ${{ github.workspace }}/xswiftbus-*
buildMacOS:
runs-on: macos-10.15
@@ -394,7 +389,6 @@ jobs:
name: xswiftbus-thin-allos-${{ needs.preBuild.outputs.version }}
- name: Repackage xswiftbus
run: |
7z x -y xswiftbus-windows-32-*.7z
7z x -y xswiftbus-windows-64-*.7z
7z x -y xswiftbus-linux-64-*.7z
7z x -y xswiftbus-macos-64-*.7z

View File

@@ -24,6 +24,7 @@
"p3d": true,
"fsuipc": true,
"xplane": true,
"xswiftbus": true,
"fg": true
},
"releaseWithDebugInfo": true,

View File

@@ -107,6 +107,11 @@ win32-g++: CONFIG += separate_debug_info
equals(WORD_SIZE,64)|!win32: disableSwiftConfig(sims.fsx, sims.fs9)
# equals(WORD_SIZE,64):win32-g++: disableSwiftConfig(sims.p3d)
################################
# xswiftbus on 64bit only
################################
equals(WORD_SIZE,32): disableSwiftConfig(sims.xswiftbus)
################################
# For BlackMisc::getStackTrace
################################

View File

@@ -426,6 +426,7 @@ def main(argv):
builder.checks()
builder.install()
builder.publish()
if word_size == '64':
builder.package_xswiftbus()
builder.symbols(upload_symbols)

View File

@@ -33,7 +33,7 @@ swiftConfig(apps.swiftdata) {
swiftConfig(apps.swiftlauncher) {
SUBDIRS += swiftlauncher
}
swiftConfig(sims.xplane) {
swiftConfig(sims.xswiftbus) {
SUBDIRS += xswiftbus
}
SUBDIRS += plugins