-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from OSGeo/master
Resync
- Loading branch information
Showing
872 changed files
with
19,545 additions
and
41,535 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Backport | ||
on: | ||
pull_request_target: | ||
types: | ||
- closed | ||
- labeled | ||
|
||
jobs: | ||
backport: | ||
runs-on: ubuntu-18.04 | ||
name: Backport | ||
steps: | ||
- name: Backport Bot | ||
id: backport | ||
if: github.event.pull_request.merged && ( ( github.event.action == 'closed' && contains( join( github.event.pull_request.labels.*.name ), 'backport') ) || contains( github.event.label.name, 'backport' ) ) | ||
uses: m-kuhn/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Fedora Rawhide | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- 'gdal/doc/**' | ||
pull_request: | ||
paths-ignore: | ||
- 'gdal/doc/**' | ||
|
||
|
||
jobs: | ||
|
||
fedora_rawhide: | ||
runs-on: ubuntu-latest | ||
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Cache | ||
uses: actions/cache@v2 | ||
id: cache | ||
with: | ||
path: | | ||
${{ github.workspace }}/ccache.tar.gz | ||
key: ${{ runner.os }}-cache-fedora-rawhide-${{ github.run_id }} | ||
restore-keys: ${{ runner.os }}-cache-fedora-rawhide- | ||
|
||
- name: Build | ||
run: docker run --privileged=true -e CI -e WORK_DIR="$PWD" -v $PWD:$PWD -v /var/run/docker.sock:/var/run/docker.sock fedora:rawhide $PWD/.github/workflows/fedora_rawhide/start.sh |
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,79 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
dnf install -y --setopt=install_weak_deps=False proj-devel | ||
dnf install -y clang make diffutils ccache \ | ||
libxml2-devel expat-devel xerces-c-devel \ | ||
zlib-devel xz-devel libzstd-devel \ | ||
giflib-devel libjpeg-devel libpng-devel \ | ||
openjpeg2-devel cfitsio-devel libwebp-devel \ | ||
libkml-devel json-c-devel \ | ||
geos-devel \ | ||
sqlite-devel pcre-devel libspatialite-devel freexl-devel \ | ||
libtiff-devel libgeotiff-devel \ | ||
poppler-cpp-devel \ | ||
cryptopp-devel \ | ||
armadillo-devel qhull-devel \ | ||
hdf-devel hdf5-devel netcdf-devel \ | ||
mongo-cxx-driver-devel libpq-devel \ | ||
python3-pip python3-devel | ||
|
||
USER=root | ||
export USER | ||
|
||
TRAVIS=yes | ||
export TRAVIS | ||
|
||
cd "$WORK_DIR" | ||
|
||
if test -f "$WORK_DIR/ccache.tar.gz"; then | ||
echo "Restoring ccache..." | ||
(cd $HOME && mkdir -p .cache && cd .cache && tar xzf "$WORK_DIR/ccache.tar.gz") | ||
fi | ||
|
||
SCRIPT_DIR=$(dirname "$0") | ||
case $SCRIPT_DIR in | ||
"/"*) | ||
;; | ||
".") | ||
SCRIPT_DIR=$(pwd) | ||
;; | ||
*) | ||
SCRIPT_DIR=$(pwd)/$(dirname "$0") | ||
;; | ||
esac | ||
|
||
ccache -M 1G | ||
ccache -s | ||
|
||
# Configure GDAL | ||
CURRENT_DIR=$PWD | ||
cd gdal | ||
CC='ccache clang' CXX='ccache clang++' LDFLAGS='-lstdc++' ./configure --prefix=/usr --without-libtool --with-python=/usr/bin/python3 --with-poppler --with-spatialite --with-liblzma --with-webp --with-hdf4 --with-hdf5 --with-armadillo | ||
|
||
make USER_DEFS=-Werror -j$(nproc) | ||
(cd apps && make USER_DEFS=-Werror -j$(nproc) test_ogrsf) | ||
make install | ||
ldconfig | ||
cd "$CURRENT_DIR" | ||
(cd autotest/cpp && make -j3) | ||
|
||
ccache -s | ||
|
||
echo "Saving ccache..." | ||
rm -f "$WORK_DIR/ccache.tar.gz" | ||
(cd $HOME/.cache && tar czf "$WORK_DIR/ccache.tar.gz" ccache) | ||
|
||
export PYTEST="python3 -m pytest -vv -p no:sugar --color=no" | ||
|
||
(cd autotest/cpp && make quick_test) | ||
|
||
# install pip and use it to install test dependencies | ||
pip3 install -U -r autotest/requirements.txt | ||
|
||
projsync --system-directory --file us_noaa_conus.tif | ||
projsync --system-directory --file us_nga_egm96 | ||
|
||
(cd autotest && $PYTEST) | ||
|
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
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
Oops, something went wrong.