Browse Source

Update builds

pull/450/head
Andrew Belt 7 years ago
parent
commit
981b46e47d
5 changed files with 25 additions and 20 deletions
  1. +2
    -2
      manifests/FrozenWasteland.json
  2. +5
    -2
      manifests/Koralfx-Modules.json
  3. +2
    -2
      manifests/Ohmer.json
  4. +5
    -2
      manifests/Qwelk.json
  5. +11
    -12
      scripts/build_updates.py

+ 2
- 2
manifests/FrozenWasteland.json View File

@@ -5,8 +5,8 @@
"manualUrl": "https://github.com/almostEric/FrozenWasteland/blob/master/README.md",
"sourceUrl": "https://github.com/almostEric/FrozenWasteland",
"donateUrl": "https://paypal.me/FrozenWasteland",
"latestVersion": "0.6.3",
"latestVersion": "0.6.4",
"status": "available",
"repoVersion": "0.6.4",
"buildTimestamp": 1522881009
"buildTimestamp": 1523319164
}

+ 5
- 2
manifests/Koralfx-Modules.json View File

@@ -6,5 +6,8 @@
"sourceUrl": "https://github.com/koralfx/Koralfx-Modules/",
"manualUrl": "https://github.com/koralfx/Koralfx-Modules/blob/master/README.md",
"donateUrl": "https://www.paypal.me/koralfx/",
"repoVersion": "0.6.7"
}
"repoVersion": "0.6.7",
"latestVersion": "0.6.7",
"buildTimestamp": 1523318775,
"status": "available"
}

+ 2
- 2
manifests/Ohmer.json View File

@@ -6,8 +6,8 @@
"manualUrl": "https://github.com/DomiKamu/Ohmer-Modules/blob/master/README.md",
"sourceUrl": "https://github.com/DomiKamu/Ohmer-Modules",
"donateUrl": "https://www.paypal.me/DominiqueCAMUS",
"latestVersion": "0.6.2",
"latestVersion": "0.6.3",
"repoVersion": "0.6.3",
"status": "available",
"buildTimestamp": 1522751360
"buildTimestamp": 1523319082
}

+ 5
- 2
manifests/Qwelk.json View File

@@ -4,5 +4,8 @@
"license": "MIT",
"manualUrl": "https://github.com/raincheque/qwelk/blob/master/README.md",
"sourceUrl": "https://github.com/raincheque/qwelk",
"repoVersion": "0.6.0"
}
"repoVersion": "0.6.0",
"latestVersion": "0.6.0",
"buildTimestamp": 1523319042,
"status": "available"
}

+ 11
- 12
scripts/build_updates.py View File

@@ -4,31 +4,30 @@ import time
import os


def system(cmd):
if os.system(cmd):
raise Exception(f"Failed command: {cmd}")


def build_mac(slug):
env = f'CC=x86_64-apple-darwin15-clang CXX=x86_64-apple-darwin15-clang++-libc++ STRIP=x86_64-apple-darwin15-strip RACK_DIR=../../Rack-SDK'
make = f'{env} make -j$(nproc) -C repos/{slug}'
if os.system(f'{make} clean'):
raise Exception(f"Could not clean Mac build of {slug}")
if os.system(f'{make} dist'):
raise Exception(f"Could not make Mac build of {slug}")
system(f'{make} clean')
system(f'{make} dist')


def build_win(slug):
env = f'CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ STRIP=x86_64-w64-mingw32-strip RACK_DIR=../../Rack-SDK'
make = f'{env} make -j$(nproc) -C repos/{slug}'
if os.system(f'{make} clean'):
raise Exception(f"Could not clean Windows build of {slug}")
if os.system(f'{make} dist'):
raise Exception(f"Could not make Windows build of {slug}")
system(f'{make} clean')
system(f'{make} dist')


def build_lin(slug):
env = f'-e RACK_DIR=../../Rack-SDK'
make = f'make -j$(nproc) -C repos/{slug}'
if os.system(f'docker run --rm -v $(pwd):/mnt -u vortico {env} a0b9c87ec456 {make} clean'):
raise Exception(f"Could not clean Linux build of {slug}")
if os.system(f'docker run --rm -v $(pwd):/mnt -u vortico {env} a0b9c87ec456 {make} dist'):
raise Exception(f"Could not make Linux build of {slug}")
system(f'docker run --rm -v $(pwd):/mnt -u vortico {env} a0b9c87ec456 {make} clean')
system(f'docker run --rm -v $(pwd):/mnt -u vortico {env} a0b9c87ec456 {make} dist')


def move_package(slug):


Loading…
Cancel
Save