-
Notifications
You must be signed in to change notification settings - Fork 18
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
Showing
6 changed files
with
75 additions
and
83 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 |
---|---|---|
|
@@ -6,7 +6,7 @@ parameters: | |
type: boolean | ||
default: true | ||
|
||
## Start of build control of O58 and O562 plugins | ||
## Start of build control of O58 and O562 pluginsrun_workflow_deploy | ||
## run_workflow_deploy_O58 | ||
## type: boolean | ||
## default: true | ||
|
@@ -33,15 +33,10 @@ workflows: | |
<<: *std-filters | ||
- build-android-armhf: | ||
<<: *std-filters | ||
# Duplicate macos-universal covers this. | ||
# - build-macos-wx32: | ||
# <<: *std-filters | ||
- build-flatpak-arm64-2208: | ||
<<: *std-filters | ||
- build-flatpak-x86-2208: | ||
<<: *std-filters | ||
## flatpak-armhf has Insufficient performance. | ||
## Appveyor can also build for Windows. | ||
- build-msvc-wx32-2022: | ||
<<: *std-filters | ||
- build-debian-arm64-12-bookworm: | ||
|
@@ -56,7 +51,7 @@ workflows: | |
<<: *std-filters | ||
- build-debian-x86_64-11-bullseye: | ||
<<: *std-filters | ||
## KEEP needed for Jammy with wx32 | ||
### KEEP needed for Jammy with wx32 | ||
- build-ubuntu-x86_64-2204-jammy: | ||
<<: *std-filters | ||
- build-macos-universal: | ||
|
@@ -68,68 +63,50 @@ workflows: | |
## Circleci will not build for macos 11 so removed - 18/10/2023 | ||
- build-macos: | ||
<<: *std-filters | ||
## Appveyor no longer builds for Windows. | ||
- build-msvc-2022: | ||
<<: *std-filters | ||
## Removed as build environments and cloudsmith upload is depricated | ||
# - build-debian-armhf-10-buster: | ||
# <<: *std-filters | ||
# - build-debian-armhf-10-buster-gtk3: | ||
# <<: *std-filters | ||
# - build-debian-arm64-10-buster: | ||
# <<: *std-filters | ||
## Cloudsmith-cli not currently working, appears to be a python3 error: jg 19/02/2024 | ||
# - build-debian-x86_64-10-buster: | ||
# <<: *std-filters | ||
|
||
## ------------------------------------- | ||
## UBUNTU OS Frozen - 28/05/2023 DROP | ||
## ------------------------------------- | ||
## KEEP needed for Raspbian OpenCPN v5.6 | ||
- build-ubuntu-armhf-1804-buster: | ||
<<: *std-filters | ||
## - build-ubuntu-x86_64-1804-bionic: | ||
## <<: *std-filters | ||
## - build-ubuntu-x86_64-1804-bionic-gtk3: | ||
## <<: *std-filters | ||
## - build-ubuntu-armhf-2004-focal-gtk3: | ||
## <<: *std-filters | ||
## - build-ubuntu-x86_64-2004-focal-gtk3: | ||
## <<: *std-filters | ||
# - build-ubuntu-armhf-1804-buster: | ||
# <<: *std-filters | ||
|
||
orbs: | ||
cloudsmith: cloudsmith/[email protected] | ||
win: circleci/[email protected] | ||
|
||
commands: | ||
deploy-code: | ||
parameters: | ||
install-python: | ||
install_python: | ||
type: boolean | ||
default: false | ||
DEPLOY-USE-ORB: | ||
deploy_use_orb: | ||
type: boolean | ||
default: true | ||
steps: | ||
- when: | ||
condition: <<pipeline.parameters.run_workflow_deploy>> | ||
steps: | ||
- when: | ||
condition: <<parameters.install-python>> | ||
condition: <<parameters.install_python>> | ||
steps: | ||
- run: sudo apt install -y python3-pip | ||
- run: python3 -m pip install cloudsmith-cli | ||
- when: | ||
condition: <<parameters.DEPLOY-USE-ORB>> | ||
condition: <<parameters.deploy_use_orb>> | ||
steps: | ||
- cloudsmith/ensure-api-key | ||
- cloudsmith/install-cli | ||
- run: bash ci/cloudsmith-upload.sh | ||
|
||
# if you want to use a local proxy add Acquire::http::Proxy \"http://192.168.1.1:3142\"; to a file called circleci-cache/apt-proxy. This will require | ||
# --volume {your local directory}/circleci-cache:/home/circleci/circleci-cache | ||
# on the circleci local command line so that the docker image script can have access to the directory | ||
# if you are on a slow or data limited internet link you can put a copy of master.zip here, or allow one to be downloaded by the script, as it is used by the android builds to | ||
# provide the wxWidgets QT information. | ||
# if you want to use a local proxy add Acquire::http::Proxy \"http://192.168.1.1:3142\"; to a file called circleci-cache/apt-proxy. This will require | ||
# --volume {your local directory}/circleci-cache:/home/circleci/circleci-cache | ||
# on the circleci local command line so that the docker image script can have access to the directory | ||
# if you are on a slow or data limited internet link you can put a copy of master.zip here, or allow one to be downloaded by the script, as it is used by the android builds to | ||
# provide the wxWidgets QT information. | ||
|
||
jobs: | ||
## --------------------- | ||
|
@@ -142,67 +119,73 @@ jobs: | |
environment: | ||
- OCPN_TARGET: android-arm64 | ||
- DEPLOY_USE_ORB: true | ||
- INSTALL_PYTHON: true | ||
steps: | ||
- checkout | ||
- run: chmod a+x ci/*.sh | ||
- run: bash ci/circleci-build-android-arm64.sh | ||
- deploy-code: | ||
install-python: true | ||
install_python: true | ||
build-android-armhf: | ||
docker: | ||
- image: cimg/android:2023.12-ndk | ||
resource_class: large | ||
environment: | ||
- OCPN_TARGET: android-armhf | ||
- DEPLOY_USE_ORB: true | ||
- INSTALL_PYTHON: true | ||
steps: | ||
- checkout | ||
- run: chmod a+x ci/*.sh | ||
- run: bash ci/circleci-build-android-armhf.sh | ||
- deploy-code: | ||
install-python: true | ||
install_python: true | ||
build-macos-wx32: | ||
macos: | ||
xcode: "13.4" | ||
environment: | ||
- OCPN_TARGET: macos | ||
- CLOUDSMITH_PKG_EXT: pkg | ||
- DEPLOY_USE_ORB: true | ||
- WX_VER: 32 | ||
- WX_VER: "32" | ||
- DEPLOY_USE_ORB: false | ||
steps: | ||
- checkout | ||
- run: chmod a+x ci/*.sh | ||
- run: bash ci/circleci-build-macos.sh | ||
- deploy-code | ||
- deploy-code: | ||
deploy_use_orb: false | ||
build-macos-universal: | ||
macos: | ||
xcode: "13.4" | ||
environment: | ||
- OCPN_TARGET: macos | ||
- CMAKE_BUILD_PARALLEL_LEVEL: 2 | ||
- WX_VER: 32 | ||
OCPN_TARGET: macos | ||
CMAKE_BUILD_PARALLEL_LEVEL: 2 | ||
WX_VER: 32 | ||
DEPLOY_USE_ORB: false | ||
INSTALL_PYTHON: false | ||
steps: | ||
- checkout | ||
- run: sudo chmod go+w /usr/local | ||
- restore_cache: | ||
key: "{{checksum \"build-deps/macos-cache-stamp\"}}\ | ||
-{{checksum \"cmake/MacosWxwidgets.cmake\"}}\ | ||
-{{checksum \"ci/circleci-build-macos-universal.sh\"}}" | ||
- run: chmod a+x ci/*.sh | ||
- run: chmod a+x cmake/*.sh | ||
- run: ci/circleci-build-macos-universal.sh | ||
- save_cache: | ||
key: "{{checksum \"build-deps/macos-cache-stamp\"}}\ | ||
-{{checksum \"cmake/MacosWxwidgets.cmake\"}}\ | ||
-{{checksum \"ci/circleci-build-macos-universal.sh\"}}" | ||
paths: | ||
- /tmp/local.cache.tar | ||
- /Users/distiller/project/cache | ||
- run: > | ||
sh -c "otool -L build/*.dylib" | ||
- run: > | ||
sh -c "cat build/*.xml" | ||
- deploy-code | ||
- checkout | ||
- run: sudo chmod go+w /usr/local | ||
- restore_cache: | ||
key: "{{checksum \"build-deps/macos-cache-stamp\"}}\ | ||
-{{checksum \"cmake/MacosWxwidgets.cmake\"}}\ | ||
-{{checksum \"ci/circleci-build-macos-universal.sh\"}}" | ||
- run: chmod a+x ci/*.sh | ||
- run: chmod a+x cmake/*.sh | ||
- run: ci/circleci-build-macos-universal.sh | ||
- save_cache: | ||
key: "{{checksum \"build-deps/macos-cache-stamp\"}}\ | ||
-{{checksum \"cmake/MacosWxwidgets.cmake\"}}\ | ||
-{{checksum \"ci/circleci-build-macos-universal.sh\"}}" | ||
paths: | ||
- /tmp/local.cache.tar | ||
- /Users/distiller/project/cache | ||
- run: > | ||
sh -c "otool -L build/*.dylib" | ||
- run: > | ||
sh -c "cat build/*.xml" | ||
- deploy-code: | ||
deploy_use_orb: false | ||
build-msvc-wx32-2022: | ||
executor: | ||
name: win/server-2022 | ||
|
@@ -211,14 +194,15 @@ jobs: | |
- OCPN_TARGET: MSVC | ||
- MSVC_VERSION: 2022 | ||
- WX_VER: 32 | ||
- DEPLOY_USE_ORB: false | ||
steps: | ||
- checkout | ||
- run: | ||
privileged: False | ||
shell: cmd.exe | ||
command: ci\circleci-build-msvc.bat | ||
- deploy-code: | ||
DEPLOY-USE-ORB: false | ||
deploy_use_orb: false | ||
build-flatpak-arm64-2208: | ||
machine: | ||
image: ubuntu-2004:202101-01 | ||
|
@@ -311,7 +295,7 @@ jobs: | |
environment: | ||
- OCPN_TARGET=bullseye-armhf | ||
- DOCKER_IMAGE=jongough/debian-armhf:bullseye | ||
- BUILD_FLAGS=-j3 | ||
- BUILD_FLbuild-debian-arm64-12-bookwormAGS=-j3 | ||
- BUILD_ENV=debian | ||
- BUILD_GTK3: true | ||
- DEPLOY_USE_ORB: true | ||
|
@@ -390,13 +374,15 @@ jobs: | |
environment: | ||
- OCPN_TARGET: macos | ||
- CLOUDSMITH_PKG_EXT: pkg | ||
- DEPLOY_USE_ORB: true | ||
- WX_VER: 315 | ||
- DEPLOY_USE_ORB: false | ||
steps: | ||
- checkout | ||
- run: chmod a+x ci/*.sh | ||
- run: bash ci/circleci-build-macos.sh | ||
- deploy-code | ||
- deploy-code: | ||
deploy_use_orb: false | ||
|
||
## Appveyor doesn't build for Windows now. | ||
## If below is used, WinXT will not work. | ||
build-msvc-2022: | ||
|
@@ -407,14 +393,15 @@ jobs: | |
- OCPN_TARGET: MSVC | ||
- MSVC_VERSION: 2022 | ||
- WX_VER: 31 | ||
- DEPLOY_USE_ORB: false | ||
steps: | ||
- checkout | ||
- run: | ||
privileged: False | ||
shell: cmd.exe | ||
command: ci\circleci-build-msvc.bat | ||
- deploy-code: | ||
DEPLOY-USE-ORB: false | ||
deploy_use_orb: false | ||
|
||
## ------------------------------------------- | ||
## Ubuntu OS - Generally deprecated and not used. | ||
|
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
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
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
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
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