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

GDAL 3.9.0 #131

Merged
merged 137 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
137 commits
Select commit Hold shift + click to select a range
c0b761c
Update gitignore
MaxRev-Dev May 14, 2024
6818a32
Bump versions
MaxRev-Dev May 14, 2024
4c2722a
Replace macos runners with GH-hosted
MaxRev-Dev May 15, 2024
19a03de
venv for cmake in remote runners
MaxRev-Dev May 20, 2024
17113af
venv for cmake in remote runners no.2
MaxRev-Dev May 20, 2024
dfa52a7
Trying to fix proj package
MaxRev-Dev May 20, 2024
0d881db
Update functions
MaxRev-Dev May 21, 2024
b08dc59
Update driver list
MaxRev-Dev May 21, 2024
70100f1
Updates
MaxRev-Dev May 21, 2024
d39e487
Updates
MaxRev-Dev May 21, 2024
47e6bfb
Updates
MaxRev-Dev May 21, 2024
acc2ab8
Updates
MaxRev-Dev May 21, 2024
f5d7be1
Updates
MaxRev-Dev May 21, 2024
8d36ff1
Updates
MaxRev-Dev May 21, 2024
794e7ff
Updates
MaxRev-Dev May 21, 2024
0d121f4
Updates
MaxRev-Dev May 21, 2024
5ea7c9e
Updates
MaxRev-Dev May 21, 2024
56bb88c
Updates
MaxRev-Dev May 21, 2024
b3b719e
Updates
MaxRev-Dev May 21, 2024
105bf79
Updates
MaxRev-Dev May 21, 2024
9e848e2
Updates
MaxRev-Dev May 21, 2024
d8e07cc
Updates
MaxRev-Dev May 21, 2024
1489a94
Updates
MaxRev-Dev May 22, 2024
c45975f
Updates
MaxRev-Dev May 26, 2024
31cf2bf
Updates
MaxRev-Dev May 26, 2024
d4f2617
Updates
MaxRev-Dev May 27, 2024
c423e39
Updates
MaxRev-Dev May 27, 2024
1bcac3b
Updates
MaxRev-Dev May 29, 2024
df2a58f
Updates
MaxRev-Dev May 29, 2024
ab43572
Updates
MaxRev-Dev May 30, 2024
48a1281
Updates
MaxRev-Dev May 30, 2024
7ae9f23
Updates
MaxRev-Dev May 30, 2024
2f45d94
Updates
MaxRev-Dev May 30, 2024
dafb599
Updates
MaxRev-Dev May 30, 2024
ede7152
Updates
MaxRev-Dev May 30, 2024
5ce880b
Updates
MaxRev-Dev May 30, 2024
c355e4c
Updates
MaxRev-Dev May 30, 2024
16d8dc2
Updates
MaxRev-Dev May 30, 2024
f976241
Updates
MaxRev-Dev May 30, 2024
dbbd8c4
Updates
MaxRev-Dev May 31, 2024
7cc46e1
Updates
MaxRev-Dev May 31, 2024
6442129
Updates
MaxRev-Dev May 31, 2024
b401b02
Updates
MaxRev-Dev May 31, 2024
b037a3e
Updates
MaxRev-Dev May 31, 2024
dddef27
Updates
MaxRev-Dev May 31, 2024
8f4bf65
Updates
MaxRev-Dev May 31, 2024
bad9154
Updates
MaxRev-Dev May 31, 2024
ade172a
Updates
MaxRev-Dev May 31, 2024
d870491
Updates
MaxRev-Dev Jun 1, 2024
5402ab9
Updates
MaxRev-Dev Jun 1, 2024
f2d811b
Updates
MaxRev-Dev Jun 1, 2024
c055c55
Updates
MaxRev-Dev Jun 1, 2024
4d82030
Updates
MaxRev-Dev Jun 1, 2024
fd150fa
Updates
MaxRev-Dev Jun 1, 2024
3db6bde
Updates
MaxRev-Dev Jun 1, 2024
8314095
Updates
MaxRev-Dev Jun 1, 2024
bdab56d
Updates
MaxRev-Dev Jun 1, 2024
8bcdfa9
Updates
MaxRev-Dev Jun 1, 2024
853afa5
Updates
MaxRev-Dev Jun 2, 2024
eed811f
Updates
MaxRev-Dev Jun 2, 2024
afd460b
Updates
MaxRev-Dev Jun 2, 2024
5b89c09
Updates
MaxRev-Dev Jun 2, 2024
03739fb
Updates
MaxRev-Dev Jun 2, 2024
122925f
Updates
MaxRev-Dev Jun 2, 2024
a1a27e9
Updates
MaxRev-Dev Jun 2, 2024
139df4f
Updates
MaxRev-Dev Jun 2, 2024
b425cfd
Updates
MaxRev-Dev Jun 3, 2024
cbd9ad5
Updates
MaxRev-Dev Jun 3, 2024
67ad813
Updates
MaxRev-Dev Jun 3, 2024
c1ba68c
Updates
MaxRev-Dev Jun 3, 2024
2bc6b3a
Updates
MaxRev-Dev Jun 4, 2024
a394a8f
Updates
MaxRev-Dev Jun 4, 2024
840fb9c
Updates
MaxRev-Dev Jun 4, 2024
4fe5d0c
Updates
MaxRev-Dev Jun 4, 2024
2dc86eb
Updates
MaxRev-Dev Jun 4, 2024
1849d19
Updates
MaxRev-Dev Jun 4, 2024
e8e7758
Updates
MaxRev-Dev Jun 5, 2024
29d5951
Updates
MaxRev-Dev Jun 5, 2024
bacbaa7
Adding NETFramework test sample
MaxRev-Dev Jun 5, 2024
ac486ea
Restructuring and cleanup
MaxRev-Dev Jun 5, 2024
ddf8df0
Updates
MaxRev-Dev Jun 5, 2024
4acac34
Set min OSX deployment target to 11.0
MaxRev-Dev Jun 5, 2024
76888b4
Docs updated
MaxRev-Dev Jun 6, 2024
9cb7cfd
Refactored
MaxRev-Dev Jun 6, 2024
7800dec
Enable cache for GH runners
MaxRev-Dev Jun 6, 2024
5d75aaa
Refactoring. OpenEXR should march on OSX
MaxRev-Dev Jun 6, 2024
08f6967
Refactoring. Adding Universal package
MaxRev-Dev Jun 6, 2024
331ebf0
Updates
MaxRev-Dev Jun 6, 2024
303deac
Updates
MaxRev-Dev Jun 6, 2024
12e67db
Updates
MaxRev-Dev Jun 6, 2024
993bd02
Fixing OpenEXR detection of moved Half library
MaxRev-Dev Jun 6, 2024
d7d26a4
Fixed library reference on linux
MaxRev-Dev Jun 6, 2024
1baec5a
Add EXR to windows runtime
MaxRev-Dev Jun 6, 2024
a939382
Remove windows cache to fit limits
MaxRev-Dev Jun 6, 2024
dbf00bc
Adding more drivers
MaxRev-Dev Jun 6, 2024
61b0ae6
Updates
MaxRev-Dev Jun 7, 2024
f666c0e
Updates
MaxRev-Dev Jun 7, 2024
cf3aa5a
Updates
MaxRev-Dev Jun 7, 2024
a156519
Updates
MaxRev-Dev Jun 7, 2024
5f676e2
Updates
MaxRev-Dev Jun 7, 2024
958a3e0
Updates
MaxRev-Dev Jun 7, 2024
13b1448
Updates
MaxRev-Dev Jun 7, 2024
0267012
Updates
MaxRev-Dev Jun 7, 2024
6b10f8f
Updates
MaxRev-Dev Jun 7, 2024
0d6a9b8
Remove EXR as windows fails to compile
MaxRev-Dev Jun 7, 2024
3b13c6e
Updates
MaxRev-Dev Jun 7, 2024
953c7a0
Updates
MaxRev-Dev Jun 11, 2024
399cb4d
Updates
MaxRev-Dev Jun 11, 2024
f46931c
Updates
MaxRev-Dev Jun 11, 2024
6b10ed3
Updates
MaxRev-Dev Jun 11, 2024
5b8c855
Updates
MaxRev-Dev Jun 11, 2024
679eb2c
Updates
MaxRev-Dev Jun 11, 2024
6222725
Updates
MaxRev-Dev Jun 11, 2024
46952e5
Updates
MaxRev-Dev Jun 11, 2024
16cbb58
Update workflow
MaxRev-Dev Jun 11, 2024
667204a
Update workflow
MaxRev-Dev Jun 11, 2024
380de54
Updates
MaxRev-Dev Jun 12, 2024
655f3ff
Updates
MaxRev-Dev Jun 12, 2024
c720878
Updates
MaxRev-Dev Jun 12, 2024
d7f823b
Updates
MaxRev-Dev Jun 12, 2024
cca4bd5
Updates
MaxRev-Dev Jun 12, 2024
b2adc8d
Updates
MaxRev-Dev Jun 12, 2024
cf82d5b
Updates
MaxRev-Dev Jun 12, 2024
217d60e
Updates
MaxRev-Dev Jun 12, 2024
3057da0
Updates
MaxRev-Dev Jun 13, 2024
d20c285
Updates
MaxRev-Dev Jun 13, 2024
9755eb6
List of drivers in current version [ci skip]
MaxRev-Dev Jun 13, 2024
983ae52
Updates
MaxRev-Dev Jun 13, 2024
c459afa
Updates
MaxRev-Dev Jun 13, 2024
b804c5b
List of drivers in current version [ci skip]
MaxRev-Dev Jun 13, 2024
ae619b9
Updates
MaxRev-Dev Jun 13, 2024
3bb880e
Updates
MaxRev-Dev Jun 13, 2024
3fc805e
Updates
MaxRev-Dev Jun 14, 2024
b89bf99
Updates
MaxRev-Dev Jun 14, 2024
98cc1d3
Updates
MaxRev-Dev Jun 14, 2024
29f1aaa
Revert "Updates"
MaxRev-Dev Jun 14, 2024
b54a8a5
Updates [no ci]
MaxRev-Dev Jun 14, 2024
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
47 changes: 47 additions & 0 deletions .github/actions/set-credentials/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@

description: "Set credentials for NuGet & GitHub packages"
inputs:
api-key-github:
required: true
description: "GitHub API key"
api-user-github:
required: true
description: "GitHub API user"
api-key-nuget:
required: true
description: "NuGet API key"
api-user-nuget:
required: true
description: "NuGet API user"
shell:
required: false
description: "Shell to use"
default: "bash"
runs:
using: "composite"
steps:
- name: NuGet - Update credentials windows
if: ${{ inputs.shell == 'pwsh' }}
shell: ${{ inputs.shell }}
run: |
dotnet nuget remove source local > $null -ErrorAction SilentlyContinue
dotnet nuget remove source local.ci > $null -ErrorAction SilentlyContinue
dotnet nuget remove source github > $null -ErrorAction SilentlyContinue
dotnet nuget remove source nuget.org > $null -ErrorAction SilentlyContinue
dotnet new nugetconfig --force
dotnet nuget add source https://nuget.pkg.github.com/MaxRev-Dev/index.json --name github --store-password-in-clear-text -u ${{ inputs.api-user-github }} -p ${{ inputs.api-key-github }}
dotnet nuget update source nuget --source https://api.nuget.org/v3/index.json --store-password-in-clear-text -u ${{ inputs.api-user-nuget }} -p ${{ inputs.api-key-nuget }}
dotnet nuget add source "./nuget/" --name local.ci && New-Item -Path "./nuget/" -ItemType Directory -Force

- name: NuGet - Update credentials unix
if: ${{ inputs.shell == 'bash' }}
shell: ${{ inputs.shell }}
run: |
dotnet nuget remove source local > /dev/null || :
dotnet nuget remove source local.ci > /dev/null || :
dotnet nuget remove source github > /dev/null || :
dotnet nuget remove source nuget.org > /dev/null || :
dotnet new nugetconfig --force
dotnet nuget add source https://nuget.pkg.github.com/MaxRev-Dev/index.json --name github --store-password-in-clear-text -u ${{ inputs.api-user-github }} -p ${{ inputs.api-key-github }}
dotnet nuget update source nuget --source https://api.nuget.org/v3/index.json --store-password-in-clear-text -u ${{ inputs.api-user-nuget }} -p ${{ inputs.api-key-nuget }}
dotnet nuget add source "./nuget/" --name local.ci && mkdir -p "./nuget/"
110 changes: 58 additions & 52 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,62 +1,67 @@
name: MacOS Build

on:
push:
branches:
- main
pull_request:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
workflow_call:
# push:
# branches:
# - main
# pull_request:
# branches:
# - main

env:
DOTNET_INSTALL_DIR: ${{ github.workspace }}/.dotnet/
DOTNET_VERSION: '8.0.x'
VCPKG_DEFAULT_BINARY_CACHE: ${{ github.workspace }}/vcpkg-archives/
IS_PRE_RELEASE: ${{ github.event_name == 'push' && github.ref != 'refs/heads/main' || contains(github.event.head_commit.message, '[prerelease]') }}
IS_PRE_RELEASE: ${{ !contains(github.ref, 'main') || contains(github.event.head_commit.message, '[prerelease]') }}

jobs:
BuildNugetPackages-MacOS:
strategy:
matrix:
os: [self-hosted-macos-arm64,self-hosted-macos-x64]
os: [macos-14, macos-13]
include:
- os: self-hosted-macos-arm64
- os: macos-14
arch: arm64
- os: self-hosted-macos-x64
- os: macos-13
arch: x64

runs-on: ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
defaults:
run:
working-directory: osx

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v4

- name: NuGet - set credentials
uses: ./.github/actions/set-credentials
with:
api-key-github: ${{ secrets.API_KEY_GITHUB }}
api-key-nuget: ${{ secrets.API_KEY_NUGET }}
api-user-github: ${{ secrets.API_USER_GITHUB }}
api-user-nuget: ${{ secrets.API_USER_NUGET }}

- name: Select Xcode version
run: sudo xcode-select -s '/Applications/Xcode_14.3.1.app/Contents/Developer'

- name: Restore cached packages
id: build-packages-cache-restore
uses: maxnowack/local-cache@main
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/build-osx/
${{ github.workspace }}/.dotnet/
${{ github.workspace }}/vcpkg-archives/
key: ${{ runner.os }}-packages-${{ matrix.os }}
.dotnet/
vcpkg-archives/
key: ${{ matrix.os }}-packages-${{ matrix.arch }}

- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master

- name: Install CMake
run: |
python3 -m pip install cmake

pipx install cmake

- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v3
Expand All @@ -70,7 +75,6 @@ jobs:
- name: Fetch VCPKG packages
run: |
mkdir -p ${{ github.workspace }}/vcpkg-archives/
make -f vcpkg-makefile BUILD_ARCH=${{ matrix.arch }} build_cleanup
make -f vcpkg-makefile BUILD_ARCH=${{ matrix.arch }}

- name: Compile HDF
Expand Down Expand Up @@ -102,6 +106,14 @@ jobs:
package-build/*.csproj
overwrite: true

- name: GDAL formats osx
uses: actions/upload-artifact@v4
with:
name: formats-osx-${{ matrix.arch }}
path: |
tests/gdal-formats/*.txt
overwrite: true

- name: Store packages as artifact
uses: actions/upload-artifact@v4
with:
Expand All @@ -112,18 +124,15 @@ jobs:
TestPackages-MacOS:
strategy:
matrix:
os: [self-hosted-macos-arm64,self-hosted-macos-x64,macos-latest]
os: [macos-14, macos-13]
include:
- os: self-hosted-macos-arm64
- os: macos-14
arch: arm64
- os: self-hosted-macos-x64
arch: x64
- os: macos-latest
- os: macos-13
arch: x64

needs: BuildNugetPackages-MacOS
runs-on: ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
defaults:
run:
working-directory: osx
Expand All @@ -143,13 +152,13 @@ jobs:
with:
dotnet-version: ${{ env.DOTNET_VERSION }}

- name: NuGet - Update credentials
run: |
dotnet nuget update source github --store-password-in-clear-text -u ${{ secrets.API_USER_GITHUB }} -p ${{ secrets.API_KEY_GITHUB }} --configfile ../nuget.config
dotnet nuget update source nuget.org --store-password-in-clear-text -u ${{ secrets.API_USER_NUGET }} -p ${{ secrets.API_KEY_NUGET }} --configfile ../nuget.config
dotnet nuget remove source local || true
dotnet nuget remove source local.ci || true
dotnet nuget add source "${{ github.workspace}}/nuget/" --name local.ci --configfile ../nuget.config
- name: NuGet - set credentials
uses: ./.github/actions/set-credentials
with:
api-key-github: ${{ secrets.API_KEY_GITHUB }}
api-key-nuget: ${{ secrets.API_KEY_NUGET }}
api-user-github: ${{ secrets.API_USER_GITHUB }}
api-user-nuget: ${{ secrets.API_USER_NUGET }}

- name: Test packages
run: |
Expand All @@ -158,10 +167,9 @@ jobs:
PushPackages-Macos:
needs: TestPackages-MacOS
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
defaults:
run:
working-directory: unix
working-directory: osx
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -178,17 +186,15 @@ jobs:
with:
pattern: metadata-osx*
merge-multiple: true

- run: ls -la ../nuget/

- name: NuGet - Update credentials
run: |
dotnet nuget update source github --store-password-in-clear-text -u ${{ secrets.API_USER_GITHUB }} -p ${{ secrets.API_KEY_GITHUB }}
dotnet nuget update source nuget.org --store-password-in-clear-text -u ${{ secrets.API_USER_NUGET }} -p ${{ secrets.API_KEY_NUGET }}
dotnet nuget remove source local || true
dotnet nuget remove source local.ci || true
dotnet nuget add source "${{ github.workspace}}/nuget/" --name local.ci --configfile ${{ github.workspace}}/nuget.config


- name: NuGet - set credentials
uses: ./.github/actions/set-credentials
with:
api-key-github: ${{ secrets.API_KEY_GITHUB }}
api-key-nuget: ${{ secrets.API_KEY_NUGET }}
api-user-github: ${{ secrets.API_USER_GITHUB }}
api-user-nuget: ${{ secrets.API_USER_NUGET }}

- name: Build bundle
run: |
make -f publish-makefile pack-bundle-only CAT_NAME=osx PRERELEASE=${{ env.IS_PRE_RELEASE }} BUILD_NUMBER_TAIL=${{ github.run_number }}
Expand All @@ -203,4 +209,4 @@ jobs:
- name: Push packages
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
run: |
make -f push-packages-makefile BUILD_NUMBER_TAIL=${{ github.run_number }} API_KEY_GITHUB=${{ secrets.API_KEY_GITHUB }} API_KEY_NUGET=${{ secrets.API_KEY_NUGET }}
make -f ../unix/push-packages-makefile BUILD_NUMBER_TAIL=${{ github.run_number }} API_KEY_GITHUB=${{ secrets.API_KEY_GITHUB }} API_KEY_NUGET=${{ secrets.API_KEY_NUGET }}
Loading