Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundle up, prune down, and package all the things #390

Merged
merged 31 commits into from
Oct 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
e34367e
Bundle all the things!
sedwards2009 Sep 6, 2022
bda6463
Undo some of the package hacks
sedwards2009 Sep 7, 2022
1e91c86
git ignore the `build` dirs
sedwards2009 Sep 18, 2022
cbe637d
Bump the launcher version
sedwards2009 Oct 3, 2022
0bd2383
Bump the launcher version again
sedwards2009 Oct 3, 2022
b75b842
Add Debian lifecycle scripts
sedwards2009 Oct 6, 2022
ee022d9
Fix the .desktop file icon
sedwards2009 Oct 7, 2022
70b5e67
Use the correct .desktop file in the Debian package
sedwards2009 Oct 7, 2022
36505ea
Use jam-pack-nodegui for packaging
sedwards2009 Oct 8, 2022
9895506
Bundle the code of the Windows specific extensions
sedwards2009 Oct 11, 2022
a780e20
Fix error message output in `ProxySessionBackend`
sedwards2009 Oct 11, 2022
d9cb337
Fix bundling related "file path" problem with ProxySessionBackend
sedwards2009 Oct 11, 2022
9ba1201
Set up Windows package support in the Jam Pack NodeGUI config
sedwards2009 Oct 12, 2022
8f4acf1
Set Jam Pack NodeGUI Windows package to suppress qode.exe console
sedwards2009 Oct 12, 2022
03d8cab
Set up MacOS DMG build support
sedwards2009 Oct 16, 2022
ede3295
Update the `jam-pack-nodegui` package version
sedwards2009 Oct 16, 2022
585fc4b
Upgrade jam-pack-nodegui version
sedwards2009 Oct 16, 2022
36916b5
Fix the `jam-pack-nodegui` refs in `package.json`
sedwards2009 Oct 17, 2022
93fce75
Update Azure Pipelines for jam-pack-nodegui packaging
sedwards2009 Oct 17, 2022
58b3e4b
Fix up the `pkg2appimage` download in CI
sedwards2009 Oct 17, 2022
58c1f72
Fix up some jest configs
sedwards2009 Oct 17, 2022
ea3406f
Fix more jest configs
sedwards2009 Oct 17, 2022
3033f6a
Make zip for MacOS and grab the right zip on Linux
sedwards2009 Oct 18, 2022
143621d
Add AppImage to the package build
sedwards2009 Oct 18, 2022
b27ea50
Bump jam-pack-nodegui version
sedwards2009 Oct 19, 2022
11ee900
Debug CI
sedwards2009 Oct 19, 2022
c283186
Bump the jam-pack-nodegui version
sedwards2009 Oct 19, 2022
e0e3a6a
Bump the jam-pack-nodegui version
sedwards2009 Oct 19, 2022
7d8d2c9
Bump the jam-pack-nodegui version
sedwards2009 Oct 19, 2022
a253230
Bump the jam-pack-nodegui version
sedwards2009 Oct 20, 2022
81afa5a
Clean up the old build system
sedwards2009 Oct 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
*~
dist/

build/
.cache/
.vscode/
.directory
Expand Down
43 changes: 17 additions & 26 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ trigger:
include:
- master
- release/*
- qt
- bundle
tags:
include:
- v*
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
sudo apt-get install xserver-xorg-core mesa-common-dev libglu1-mesa-dev libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-render-util0 libxcb-xinerama0
displayName: "Install development packages"
- script: |
wget -c https://github.com/$(wget -q https://github.com/AppImage/pkg2appimage/releases -O - | grep "pkg2appimage-.*-x86_64.AppImage" | head -n 1 | cut -d '"' -f 2)
wget -c https://github.com/AppImageCommunity/pkg2appimage/releases/download/continuous/pkg2appimage-1807-x86_64.AppImage
chmod +x ./pkg2appimage-*.AppImage
mv pkg2appimage-*.AppImage pkg2appimage.AppImage
sudo mv pkg2appimage.AppImage /usr/local/bin
Expand All @@ -75,19 +75,19 @@ jobs:
displayName: Check for tag and package.json version
- script: "yarn run download-launcher-executable"
displayName: "Download the launcher executable"
- script: "yarn run download-deploy-tool"
displayName: "Download the deploy packaging tool"
- script: yarn run lint-strict
displayName: "yarn run lint-strict"
- script: yarn run build
displayName: "yarn run build"
- script: yarn run test
displayName: "yarn run test"
- script: yarn run package-linux --version=$(git describe --tags)
displayName: "yarn run package-linux"
- script: cp $(Build.SourcesDirectory)/build_tmp/*.zip $(Build.ArtifactStagingDirectory)
- script: cp $(Build.SourcesDirectory)/build_tmp/*.deb $(Build.ArtifactStagingDirectory)
- script: cp $(Build.SourcesDirectory)/build_tmp/*.AppImage $(Build.ArtifactStagingDirectory)
- script: git branch --show-current
displayName: "git branch --show-current"
- script: yarn run package
displayName: "yarn run package"
- script: cp $(Build.SourcesDirectory)/tmp-jam-pack-nodegui/jam-pack-nodegui-work/*.zip $(Build.ArtifactStagingDirectory)
- script: cp $(Build.SourcesDirectory)/tmp-jam-pack-nodegui/jam-pack-nodegui-work/*.deb $(Build.ArtifactStagingDirectory)
- script: cp $(Build.SourcesDirectory)/tmp-jam-pack-nodegui/jam-pack-nodegui-work/*.AppImage $(Build.ArtifactStagingDirectory)
- task: PublishPipelineArtifact@0
inputs:
artifactName: 'Linux build output'
Expand All @@ -113,29 +113,22 @@ jobs:
displayName: Check for tag and package.json version
- script: "yarn run download-launcher-executable"
displayName: "Download the launcher executable"
- script: "yarn run download-deploy-tool"
displayName: "Download the deploy packaging tool"
- script: yarn run lint-strict
displayName: "yarn run lint-strict"
- script: yarn run build
displayName: "yarn run build"
- script: yarn run test
displayName: "yarn run test"
- script: |
PATH=C:\Program Files (x86)\NSIS\;%PATH%
git describe --tags > APP_VERSION.txt
set /p APP_VERSION= < APP_VERSION.txt
del APP_VERSION.txt
yarn run package-windows --version=%APP_VERSION%
displayName: "yarn run package-windows"
- script: yarn run package
displayName: "yarn run package"
- task: CopyFiles@2
inputs:
sourceFolder: '$(Build.SourcesDirectory)/build_tmp'
sourceFolder: '$(Build.SourcesDirectory)/tmp-jam-pack-nodegui/jam-pack-nodegui-work'
contents: '*.zip'
targetFolder: '$(Build.ArtifactStagingDirectory)'
- task: CopyFiles@2
inputs:
sourceFolder: '$(Build.SourcesDirectory)/build_tmp'
sourceFolder: '$(Build.SourcesDirectory)/tmp-jam-pack-nodegui/jam-pack-nodegui-work'
contents: '*.exe'
targetFolder: '$(Build.ArtifactStagingDirectory)'
- task: PublishPipelineArtifact@0
Expand All @@ -159,19 +152,17 @@ jobs:
displayName: Check for tag and package.json version
- script: "yarn run download-launcher-executable"
displayName: "Download the launcher executable"
- script: "yarn run download-deploy-tool"
displayName: "Download the deploy packaging tool"
- script: yarn run lint-strict
displayName: "yarn run lint-strict"
- script: yarn run build
displayName: "yarn run build"
- script: yarn run test
displayName: "yarn run test"
- script: yarn run package-macos --version=$(git describe --tags)
displayName: "yarn run package-macos"
- script: yarn run package
displayName: "yarn run package"
- script: |
cp $(Build.SourcesDirectory)/build_tmp/*.zip $(Build.ArtifactStagingDirectory)
cp $(Build.SourcesDirectory)/build_tmp/*.dmg $(Build.ArtifactStagingDirectory)
cp $(Build.SourcesDirectory)/tmp-jam-pack-nodegui/jam-pack-nodegui-work/*.zip $(Build.ArtifactStagingDirectory)
cp $(Build.SourcesDirectory)/tmp-jam-pack-nodegui/jam-pack-nodegui-work/*.dmg $(Build.ArtifactStagingDirectory)
- task: PublishPipelineArtifact@0
inputs:
artifactName: 'macOS build output'
Expand Down
135 changes: 0 additions & 135 deletions build_scripts/build_packages.mjs

This file was deleted.

Loading