Rewrite build tools (#1958)
This commit is contained in:
@@ -25,9 +25,7 @@ jobs:
|
||||
|
||||
- name: Build Assets
|
||||
run: |
|
||||
python pkgutils.py manual
|
||||
python pkgutils.py sample
|
||||
python pkgutils.py qtlrelease
|
||||
python pkgutils.py build-assets
|
||||
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
@@ -6,7 +6,7 @@ jobs:
|
||||
buildAssets:
|
||||
uses: ./.github/workflows/build_assets.yml
|
||||
|
||||
buildLinux:
|
||||
buildLinux-AppImage:
|
||||
needs: buildAssets
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
|
||||
@@ -15,5 +15,23 @@ jobs:
|
||||
with:
|
||||
python-version: "3.12"
|
||||
architecture: x64
|
||||
|
||||
- name: Checkout Source
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Download Artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: nw-assets
|
||||
path: novelwriter/assets
|
||||
|
||||
- name: Build Setup Installer
|
||||
run: python pkgutils.py build-win-exe
|
||||
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Win-Setup
|
||||
path: dist/*.exe
|
||||
if-no-files-found: error
|
||||
retention-days: 14
|
||||
|
||||
@@ -33,7 +33,9 @@ jobs:
|
||||
run: |
|
||||
pip install -U -r requirements.txt -r tests/requirements.txt
|
||||
- name: Run Build Commands
|
||||
run: python pkgutils.py qtlrelease sample
|
||||
run: |
|
||||
python pkgutils.py qtlrelease
|
||||
python pkgutils.py sample
|
||||
- name: Run Tests
|
||||
run: |
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
|
||||
+652
-823
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -18,7 +18,7 @@ if [ ! -d $ENVPATH ]; then
|
||||
fi
|
||||
source $ENVPATH/bin/activate
|
||||
pip3 install -r docs/source/requirements.txt
|
||||
python3 pkgutils.py qtlrelease manual sample
|
||||
python3 pkgutils.py build-assets
|
||||
deactivate
|
||||
|
||||
echo ""
|
||||
|
||||
@@ -17,16 +17,9 @@ if [ ! -d $ENVPATH ]; then
|
||||
fi
|
||||
source $ENVPATH/bin/activate
|
||||
pip3 install -r docs/source/requirements.txt
|
||||
python3 pkgutils.py clean-assets
|
||||
python3 pkgutils.py qtlrelease manual sample
|
||||
python3 pkgutils.py build-assets
|
||||
deactivate
|
||||
|
||||
echo ""
|
||||
echo " Building Windows Source Zip"
|
||||
echo "================================================================================"
|
||||
echo ""
|
||||
python3 pkgutils.py windows-zip
|
||||
|
||||
echo ""
|
||||
echo " Building Linux Packages"
|
||||
echo "================================================================================"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
; Script for building setup.exe installer with Inno Setup
|
||||
|
||||
#define nwAppDir "%%dir%%\dist"
|
||||
#define nwAppDir "%%dist%%"
|
||||
#define nwAppName "novelWriter"
|
||||
#define nwAppVersion "%%version%%"
|
||||
#define nwAppPublisher "novelWriter"
|
||||
|
||||
Reference in New Issue
Block a user