forked from OSGeo/grass
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1,424 changed files
with
74,304 additions
and
1,922 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
name: Validate Titles | ||
|
||
on: | ||
pull_request_target: | ||
types: | ||
- edited | ||
# The following types are default for pull_request_target | ||
- opened | ||
- synchronize | ||
- reopened | ||
|
||
permissions: {} | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.sha }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
validate-titles: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout base repository (doesn't include the PR changes) | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
- name: Call PR title validation function | ||
run: python utils/generate_release_notes.py check "${PR_TITLE}" "" "" | ||
env: | ||
PR_TITLE: ${{ github.event.pull_request.title }} |
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
/emacs.desktop | ||
*~ | ||
*.lock | ||
!flake.lock | ||
*.pyc | ||
OBJ.* | ||
locale/scriptstrings/* | ||
|
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
--- | ||
|
||
default: true | ||
|
||
# Fix any fixable errors (depending on the markdownlint wrapper tool used) | ||
fix: true |
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 |
---|---|---|
|
@@ -2,27 +2,33 @@ | |
# Author: Ivan Mincik, [email protected] (linux) | ||
# Rainer M. Krug, [email protected] (osx) | ||
|
||
os: linux | ||
dist: jammy | ||
language: c | ||
cache: ccache | ||
|
||
matrix: | ||
# safelist | ||
branches: | ||
only: | ||
- main | ||
- releasebranch* | ||
|
||
jobs: | ||
include: | ||
- os: linux | ||
dist: focal | ||
compiler: gcc | ||
sudo: required | ||
env: CC=gcc CXX=g++ | ||
|
||
- os: linux | ||
dist: focal | ||
compiler: clang | ||
sudo: required | ||
env: CC=clang CXX=clang++ | ||
|
||
env: | ||
global: | ||
- CFLAGS="-Werror=implicit-function-declaration" | ||
- CXXFLAGS="-std=c++11" | ||
- CXXFLAGS="-std=c++17" | ||
- GRASS_EXTRA_CFLAGS="-Werror -fPIC -Wfatal-errors" | ||
- GRASS_EXTRA_CXXFLAGS="-Werror -fPIC -Wfatal-errors" | ||
|
||
before_install: | ||
- ./.travis/$TRAVIS_OS_NAME.before_install.sh | ||
|
@@ -32,9 +38,3 @@ install: | |
|
||
script: | ||
- ./.travis/$TRAVIS_OS_NAME.script.sh | ||
|
||
after_success: | ||
- bash < (curl -s https://codecov.io/bash) | ||
|
||
notifications: | ||
irc: chat.freenode.net#grass |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env sh | ||
#!/usr/bin/env bash | ||
# Author: Ivan Mincik, [email protected] | ||
|
||
set -e | ||
|
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 |
---|---|---|
@@ -1,53 +1,9 @@ | ||
#!/usr/bin/env sh | ||
#!/usr/bin/env bash | ||
# Author: Ivan Mincik, [email protected] | ||
|
||
set -e | ||
|
||
sudo apt-get install --no-install-recommends \ | ||
libcairo2-dev \ | ||
libfftw3-dev \ | ||
libfreetype6-dev \ | ||
libgdal-dev \ | ||
libgeos-dev \ | ||
libglu1-mesa-dev \ | ||
libgsl-dev \ | ||
libjpeg-dev \ | ||
liblapack-dev \ | ||
libncurses5-dev \ | ||
libnetcdf-dev \ | ||
libopenjp2-7 \ | ||
libopenjp2-7-dev \ | ||
libpdal-dev \ | ||
libpdal-plugin-python \ | ||
libpng-dev \ | ||
libmysqlclient-dev \ | ||
libpq-dev \ | ||
libproj-dev \ | ||
libreadline-dev \ | ||
libsqlite3-dev \ | ||
libtiff-dev \ | ||
libxmu-dev \ | ||
libzstd-dev \ | ||
python3 \ | ||
python3-dateutil \ | ||
python3-dev \ | ||
python3-numpy \ | ||
python3-pil \ | ||
python3-pip \ | ||
python3-ply \ | ||
python-wxgtk3.0 \ | ||
unixodbc-dev \ | ||
libnetcdf-dev \ | ||
autoconf2.13 \ | ||
autotools-dev \ | ||
debhelper \ | ||
ccache \ | ||
fakeroot \ | ||
flex \ | ||
bison \ | ||
netcdf-bin \ | ||
dpatch \ | ||
libblas-dev \ | ||
pdal \ | ||
proj-bin \ | ||
proj-data | ||
sudo apt-get update -y | ||
sudo apt-get install -y wget git gawk findutils | ||
xargs -a <(awk '! /^ *(#|$)/' ".github/workflows/apt.txt") -r -- \ | ||
sudo apt-get install -y --no-install-recommends --no-install-suggests |
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 |
---|---|---|
@@ -1,10 +1,14 @@ | ||
#!/usr/bin/env sh | ||
#!/usr/bin/env bash | ||
# Author: Ivan Mincik, [email protected] | ||
|
||
set -e | ||
|
||
export CC="ccache $CC" | ||
export CXX="ccache $CXX" | ||
export MAKEFLAGS="-j $(nproc) --no-keep-going" | ||
|
||
echo "MAKEFLAGS is '$MAKEFLAGS'" | ||
|
||
./configure --host=x86_64-linux-gnu \ | ||
--build=x86_64-linux-gnu \ | ||
--prefix=/usr/lib \ | ||
|
@@ -28,7 +32,7 @@ export CXX="ccache $CXX" | |
--with-freetype-includes=/usr/include/freetype2/ \ | ||
--with-postgres-includes=/usr/include/postgresql/ \ | ||
--with-proj-share=/usr/share/proj \ | ||
--with-python \ | ||
--with-cairo | ||
--with-cairo \ | ||
--with-pdal | ||
|
||
make -j2 | ||
make CFLAGS="$CFLAGS $GRASS_EXTRA_CFLAGS" CXXFLAGS="$CXXFLAGS $GRASS_EXTRA_CXXFLAGS" |
Oops, something went wrong.