-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 5dbc9f4
Showing
24 changed files
with
758 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- | ||
name: 🍎 MacOS | ||
on: | ||
push: | ||
branches: | ||
- main | ||
# TODO: probably create a nightly job | ||
|
||
jobs: | ||
package: | ||
runs-on: macos-13 | ||
strategy: | ||
matrix: | ||
include: | ||
- platform: 'osx-64' | ||
- platform: 'osx-arm64' | ||
|
||
name: Package for macOS | ||
steps: | ||
- name: 🐣 Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
miniconda-version: "latest" | ||
|
||
- name: 🌾 Get latest version | ||
shell: bash | ||
run: | | ||
QGIS_VERSION=$(conda search -c conda-forge -f qgis | grep py311 | tail -n 1 | tr -s ' ' | cut -f 2 -d ' ') | ||
QGIS_VERSION_SHORT=$(echo $QGIS_VERSION | cut -d'.' -f 1,2) | ||
echo QGIS_VERSION=$QGIS_VERSION >> $GITHUB_ENV | ||
echo QGIS_VERSION_SHORT=$QGIS_VERSION_SHORT >> $GITHUB_ENV | ||
sed -i s/__ver__/$QGIS_VERSION/g construct.yaml | ||
sed -i s/__shortver__/$QGIS_VERSION_SHORT/g construct.yaml | ||
- name: debug | ||
if: always() | ||
uses: m-kuhn/action-tmate@patch-1 | ||
|
||
- name: 📦 Package | ||
shell: bash | ||
run: | | ||
conda install constructor | ||
constructor --platform=${{ matrix.platform }} | ||
- name: 📦 Upload artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
path: '*.pkg' |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Creates QGIS installer packages from conda |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: QGIS | ||
version: "__ver__" | ||
channels: | ||
- "conda-forge" | ||
specs: | ||
- qgis=__ver__ | ||
- python=3.11 | ||
license_file: COPYING | ||
# welcome_image: photo.png # [win] | ||
installer_type: pkg | ||
pkg_name: QGIS-__shortver__.app | ||
default_location_pkg: /Applications | ||
reverse_domain_identifier: org.qgis.QGIS | ||
# notarization_identity_name: XXX | ||
mac_bundle: | ||
name: QGIS-__shortver__ | ||
info_plist: extra/Info.plist | ||
resources: extra/Resources | ||
executable: bin/qgis |
Oops, something went wrong.