Move Build Scripts again
This commit is contained in:
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
@@ -2,13 +2,7 @@
|
|||||||
name: Build
|
name: Build
|
||||||
|
|
||||||
# fire on
|
# fire on
|
||||||
on:
|
on: [ push, pull_request ]
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- DoorDev
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- DoorDev
|
|
||||||
|
|
||||||
# stuff to do
|
# stuff to do
|
||||||
jobs:
|
jobs:
|
||||||
@@ -57,11 +51,11 @@ jobs:
|
|||||||
# run build-gui.py
|
# run build-gui.py
|
||||||
- name: Build GUI
|
- name: Build GUI
|
||||||
run: |
|
run: |
|
||||||
python ./build-gui.py
|
python ./source/meta/build-gui.py
|
||||||
# run build-dr.py
|
# run build-dr.py
|
||||||
- name: Build DungeonRandomizer
|
- name: Build DungeonRandomizer
|
||||||
run: |
|
run: |
|
||||||
python ./build-dr.py
|
python ./source/meta/build-dr.py
|
||||||
# prepare binary artifacts for later step
|
# prepare binary artifacts for later step
|
||||||
- name: Prepare Binary Artifacts
|
- name: Prepare Binary Artifacts
|
||||||
env:
|
env:
|
||||||
@@ -220,7 +214,7 @@ jobs:
|
|||||||
body: ${{ steps.release_notes.outputs.body }}
|
body: ${{ steps.release_notes.outputs.body }}
|
||||||
draft: true
|
draft: true
|
||||||
prerelease: true
|
prerelease: true
|
||||||
if: contains(github.ref, 'master') || contains(github.ref, 'stable') || contains(github.ref, 'dev') || contains(github.ref, 'DoorRelease')
|
if: contains(github.ref, 'master') || (contains(github.ref, 'stable') && !contains(github.ref, 'unstable')) || contains(github.ref, 'dev') || contains(github.ref, 'DoorRelease')
|
||||||
# upload linux archive asset
|
# upload linux archive asset
|
||||||
- name: Upload Linux Archive Asset
|
- name: Upload Linux Archive Asset
|
||||||
id: upload-linux-asset
|
id: upload-linux-asset
|
||||||
@@ -232,7 +226,7 @@ jobs:
|
|||||||
asset_path: ../deploy/linux/ALttPDoorRandomizer.tar.gz
|
asset_path: ../deploy/linux/ALttPDoorRandomizer.tar.gz
|
||||||
asset_name: ALttPDoorRandomizer-${{ steps.debug_info.outputs.github_tag }}-linux-bionic.tar.gz
|
asset_name: ALttPDoorRandomizer-${{ steps.debug_info.outputs.github_tag }}-linux-bionic.tar.gz
|
||||||
asset_content_type: application/gzip
|
asset_content_type: application/gzip
|
||||||
if: contains(github.ref, 'master') || contains(github.ref, 'stable') || contains(github.ref, 'dev') || contains(github.ref, 'DoorRelease')
|
if: contains(github.ref, 'master') || (contains(github.ref, 'stable') && !contains(github.ref, 'unstable')) || contains(github.ref, 'dev') || contains(github.ref, 'DoorRelease')
|
||||||
# upload macos archive asset
|
# upload macos archive asset
|
||||||
- name: Upload MacOS Archive Asset
|
- name: Upload MacOS Archive Asset
|
||||||
id: upload-macos-asset
|
id: upload-macos-asset
|
||||||
@@ -244,7 +238,7 @@ jobs:
|
|||||||
asset_path: ../deploy/macos/ALttPDoorRandomizer.tar.gz
|
asset_path: ../deploy/macos/ALttPDoorRandomizer.tar.gz
|
||||||
asset_name: ALttPDoorRandomizer-${{ steps.debug_info.outputs.github_tag }}-osx.tar.gz
|
asset_name: ALttPDoorRandomizer-${{ steps.debug_info.outputs.github_tag }}-osx.tar.gz
|
||||||
asset_content_type: application/gzip
|
asset_content_type: application/gzip
|
||||||
if: contains(github.ref, 'master') || contains(github.ref, 'stable') || contains(github.ref, 'dev') || contains(github.ref, 'DoorRelease')
|
if: contains(github.ref, 'master') || (contains(github.ref, 'stable') && !contains(github.ref, 'unstable')) || contains(github.ref, 'dev') || contains(github.ref, 'DoorRelease')
|
||||||
# upload windows archive asset
|
# upload windows archive asset
|
||||||
- name: Upload Windows Archive Asset
|
- name: Upload Windows Archive Asset
|
||||||
id: upload-windows-asset
|
id: upload-windows-asset
|
||||||
@@ -256,4 +250,4 @@ jobs:
|
|||||||
asset_path: ../deploy/windows/ALttPDoorRandomizer.zip
|
asset_path: ../deploy/windows/ALttPDoorRandomizer.zip
|
||||||
asset_name: ALttPDoorRandomizer-${{ steps.debug_info.outputs.github_tag }}-windows.zip
|
asset_name: ALttPDoorRandomizer-${{ steps.debug_info.outputs.github_tag }}-windows.zip
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
if: contains(github.ref, 'master') || contains(github.ref, 'stable') || contains(github.ref, 'dev') || contains(github.ref, 'DoorRelease')
|
if: contains(github.ref, 'master') || (contains(github.ref, 'stable') && !contains(github.ref, 'unstable')) || contains(github.ref, 'dev') || contains(github.ref, 'DoorRelease')
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import shutil
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
# Spec file
|
# Spec file
|
||||||
SPEC_FILE = os.path.join("DungeonRandomizer.spec")
|
SPEC_FILE = os.path.join(".", "source", "DungeonRandomizer.spec")
|
||||||
|
|
||||||
# Destination is current dir
|
# Destination is current dir
|
||||||
DEST_DIRECTORY = '.'
|
DEST_DIRECTORY = '.'
|
||||||
@@ -4,7 +4,7 @@ import shutil
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
# Spec file
|
# Spec file
|
||||||
SPEC_FILE = os.path.join("Gui.spec")
|
SPEC_FILE = os.path.join(".", "source", "Gui.spec")
|
||||||
|
|
||||||
# Destination is current dir
|
# Destination is current dir
|
||||||
DEST_DIRECTORY = '.'
|
DEST_DIRECTORY = '.'
|
||||||
Reference in New Issue
Block a user