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

Cmake build: merge upstream/main #2

Closed
wants to merge 175 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
175 commits
Select commit Hold shift + click to select a range
3fe238f
tests: Disable test of core.gcmd.recv_some (#2826)
wenzeslaus Feb 14, 2023
f08fdcd
g.extension: Remove six dependency (#2828)
wenzeslaus Feb 14, 2023
7aab4cc
Add MCC to r.kappa (#2680)
marisn Feb 14, 2023
8b6cd94
contributing: Enforce that duplicate files are the same (#2604)
wenzeslaus Feb 14, 2023
b59a047
modules: Always use current major version in VTK outputs (r.out.vtk, …
wenzeslaus Feb 15, 2023
29cd640
v.info: Add vector name to no db connection message (#2434)
wenzeslaus Feb 15, 2023
4746c46
Add clang-format shell script (#2732)
nilason Feb 15, 2023
ab64b01
python: Fix some deprecation warnings (#2827)
nilason Feb 15, 2023
ca62de3
utils: Remove HTMLParseError (#2524)
wenzeslaus Feb 15, 2023
6d0a069
python/script: revert to byte literal string (#2830)
nilason Feb 15, 2023
adf4d3e
grass.jupyter: Support pathlib.Path in TimeSeriesMap.save (#2453)
wenzeslaus Feb 15, 2023
4f5477c
r3.out.netcdf: Use current major version in history attribute (#2342)
wenzeslaus Feb 15, 2023
77f6459
wxGUI/gconsole: fix saving command param arg with quotation marks to …
tmszi Feb 16, 2023
1bb3943
grass.pygrass: GridModule: fix no-data rows at tile borders (#2736)
petrasovaa Feb 16, 2023
c0b27b9
docs: Update submitting guidelines (#2797)
nilason Feb 17, 2023
9e17b9e
r.patch: disable parallelization when MASK is active (#2829)
petrasovaa Feb 17, 2023
731505b
wxGUI: Change caption of Data Catalog to Data (#2833)
wenzeslaus Feb 17, 2023
001bf57
r.profile: Fix typos in the manual (#2831)
HuidaeCho Feb 18, 2023
a3d3999
r.stats.zonal manual: add screenshots (#2577)
neteler Feb 20, 2023
fc90bec
v.random: use unqualified names in db columns (#2838)
marisn Feb 20, 2023
b06c460
fix integer overflows in r.cost and r.walk (#2842)
metzm Feb 20, 2023
75cb8f6
r.in.pdal: fix integer overflow (#2844)
nilason Feb 21, 2023
a308bdf
docker: update simple.laz (#2841)
neteler Feb 21, 2023
f4b5942
r.in.xyz: fix integer overflow (#2847)
nilason Feb 22, 2023
50815f9
pdal: suppress -Wunknown-pragmas warnings from PDAL code (#2846)
nilason Feb 22, 2023
2ad3235
r.neighbors, r.resamp.filter, r.resamp.interp: fix integer overflow (…
metzm Feb 24, 2023
b9f6c48
configure: use pkg-config for PDAL configuration (#2851)
nilason Feb 24, 2023
abcba9a
CI: simplify Windows setup yaml file (#2861)
nilason Feb 26, 2023
a82501d
Spell checking: fixed typos (#2862)
neteler Feb 27, 2023
78243ae
grass.pygrass: restore removed function and mark it as deprecated (#2…
petrasovaa Feb 27, 2023
1aa5bc0
wxGUI: Save current Single-Window layout to a workspace file (#2768)
lindakarlovska Feb 28, 2023
1a96f69
contributing: Update to Black 23.1.0 (#2866)
wenzeslaus Mar 2, 2023
2161b01
CI: add CI concurrency (#2868)
nilason Mar 4, 2023
dec1e3f
fix -Wextra-semi compiler warnings (#2871)
nilason Mar 6, 2023
20cee66
wxGUI: fix i18n issues in r.li.setup gui (#2869)
slichtzzz Mar 6, 2023
94afb5d
Fix some more -Wstrict-prototypes compiler warnings (#2870)
nilason Mar 7, 2023
22b69f8
fix -Wformat-pedantic compiler warnings (#2872)
nilason Mar 8, 2023
270d56b
Fix -Wformat compiler warnings (#2878)
nilason Mar 9, 2023
679b2d0
Add time function constants to temporal algebra (#905)
ninsbl Mar 10, 2023
35123df
find_file: translate more legacy elements (#2881)
ninsbl Mar 10, 2023
4f1305d
winGRASS: exclude pdal as compilation dependency (#2883)
hellik Mar 11, 2023
3ec0d8d
fix wingrass compilation failing in --with-openmp (#2887)
hellik Mar 14, 2023
b3ba6c2
lib/raster3d: fix -Woverflow compiler warnings (#2879)
nilason Mar 15, 2023
35192ef
grass.script: Fix ignored superquiet (--qq) parameter (#2814)
wenzeslaus Mar 16, 2023
d10ac4f
CI: do not fail macOS on -Wdeprecated-non-prototype (#2889)
nilason Mar 17, 2023
8bf08f7
g.proj: fix -Wembedded-directive compiler warnings (#2877)
nilason Mar 17, 2023
b38d109
t.rename: Fix error with SQLDatabaseInterface.update() (#2886)
ninsbl Mar 17, 2023
07a31f9
contributors: edit Ivan Shmakov's email (#2888)
veroandreo Mar 17, 2023
5ccff03
modules: Replace bare except by Exception (#1578)
ShubhamSwati Mar 17, 2023
22c800d
CI: no cancelling of jobs on main (#2893)
nilason Mar 17, 2023
29609fa
i.atcorr: Fix -Winvalid-utf8 compiler warning (#2873)
nilason Mar 17, 2023
9e5ce91
fix -Wgnu-pointer-arith compiler warnings (#2875)
nilason Mar 18, 2023
0fbe28f
Suppress -Wempty-translation-unit compiler warnings (#2874)
nilason Mar 18, 2023
ca4d4f0
lib/vector: Fix -Wpedantic compiler warnings (#2876)
nilason Mar 18, 2023
b617f45
contributors: add missing ORCid
pesekon2 Mar 19, 2023
c2c09ed
wxGUI: Copy mapset path from Data Catalog with right click (#2865)
firedragonironfist Mar 20, 2023
f423ef4
CI(deps): Update jidicula/clang-format-action action to v4.11.0 (#2898)
renovate[bot] Mar 20, 2023
874c086
AbstractMapDataset: add option for mapset check (#2882)
ninsbl Mar 20, 2023
3d91a65
wxGUI: remove initial duplicate point when creating profile or measur…
petrasovaa Mar 21, 2023
19859f0
i.vi: support soil_line_slope for PVI
pesekon2 Mar 23, 2023
aac1c5a
Incorrect beam radiation for some steep inclined surfaces (#2534)
andrewg-cse Mar 23, 2023
064719b
i.vi: update manual after PVI changes (#2903)
pesekon2 Mar 23, 2023
6686aa7
t.register: support mapset name in input file (#2863)
ninsbl Mar 23, 2023
ec44036
docker/alpine: add C support for g.extension; enable PostgreSQL suppo…
neteler Apr 4, 2023
6d461f8
do not require height/height_column if elevation specified (#2911)
landam Apr 7, 2023
a7ed30c
g.extension: use git sparse-checkout instead of SVN (#2895)
ninsbl Apr 12, 2023
49f5cad
g.extension: show fatal message if installed Add-On doesn't exists in…
tmszi Apr 14, 2023
ea91980
CI(deps): Update github/super-linter action to v5 (#2917)
renovate[bot] Apr 16, 2023
d18881b
CITATION.cff: added formatted citation file (#2904)
neteler Apr 17, 2023
24ce8d3
docker alpine: CI update for `set-output` command (#2921)
neteler Apr 18, 2023
9746eea
doc: update grass_database text (#2922)
petrasovaa Apr 19, 2023
ca1bc80
g.extension: fix getting addon path from the Git repository (#2925)
tmszi Apr 19, 2023
a6b672f
docker alpine: cleanup and drop Dockerfile_alpine_latest (#2912)
neteler Apr 21, 2023
0c6d351
g.extension: fix printing extension temporary directory to stderr for…
tmszi Apr 22, 2023
b8dd380
pygrass: retrieve 3D geometries for 3D vector maps (#2914)
landam Apr 22, 2023
c05cc14
t.rast.algebra: do not print when debug is off (#2926)
petrasovaa Apr 22, 2023
41288a6
g.extension: fix extracting Git version string (#2929)
tmszi Apr 25, 2023
3dbca81
wxGUI: fix wxAssertionError when opening tools from console (#2934)
petrasovaa Apr 25, 2023
c0addd9
temporal: do not show empty range file message with default logging l…
petrasovaa Apr 25, 2023
ee3e271
Translations update from OSGeo Weblate (#2908)
osgeoweblate Apr 27, 2023
d009979
contributing: Link Open Collective contribute page (#2939)
wenzeslaus Apr 28, 2023
fbf6ba9
Translations update from OSGeo Weblate (#2943)
osgeoweblate Apr 29, 2023
da50e2a
g.extension: fix addon SOURCE_URL env var value for official GitHub a…
tmszi Apr 30, 2023
363186e
Translations update from OSGeo Weblate (#2944)
osgeoweblate May 1, 2023
937cf6c
r.patch: fix gathering statistics with multi-threading (#2906)
jameshu15869 May 1, 2023
9a0da8b
i18n: Merge Transifex translations (#2942)
HuidaeCho May 1, 2023
5801bf8
README.md: Thanks to all contributors (#2947)
neteler May 4, 2023
c19cd81
g.extension: get list of the addons paths via cloning Git repository …
tmszi May 5, 2023
01f2f9c
pygrass: replace deprecated numpy.bool with bool (#2949)
petrasovaa May 8, 2023
e6dcec0
r.horizon: revert back to positive values only (#2955)
petrasovaa May 12, 2023
2edf389
v.in.ascii: clarify example in man page (#2951)
rs-aesi May 12, 2023
3e0c87a
r.univar: print only statistics for existing zones (#2957)
ninsbl May 15, 2023
7afbe70
RFC: Version Numbering (#2357)
wenzeslaus May 17, 2023
aaa5f6d
r.univar: print correct cells value for zones in shell script style (…
ninsbl May 17, 2023
43b7222
doc: Sync grass package and wxGUI Sphinx conf (#2968)
wenzeslaus May 18, 2023
70ecf8e
version: Start 8.4.0dev (#2964)
wenzeslaus May 18, 2023
8ae8d07
pre-commit-config.yaml: exclude README.md from markdown-lint (#2971)
neteler May 20, 2023
1fb6df1
Docker: Update 8.3 and 8.4 versions in Docker readme table (#2966)
wenzeslaus May 20, 2023
2c2e5b5
contributing: Add readme to development doc (#2962)
wenzeslaus May 22, 2023
6048bac
version: Update Sphinx config under man (#2967)
wenzeslaus May 22, 2023
19266d2
contributing: Add suggest message to version script (#2965)
wenzeslaus May 22, 2023
860147a
init: Do not report creating new mapset for tmp mapset (#2972)
wenzeslaus May 23, 2023
5b6d05e
contributing: Update release how-to from 8.2 to 8.4 (#2980)
wenzeslaus May 24, 2023
673c1f5
pkg: Update to latest grass.spec from Fedora
wenzeslaus May 24, 2023
1600a32
contributing: Fix syntax in Flake8 config (#2976)
wenzeslaus May 24, 2023
952dd71
grass.pygrass: Fix parameter range error reporting (#2817)
wenzeslaus May 24, 2023
8f6f1ec
wxGUI/vselect: fix BoxSizer widget Add method proportion param arg ty…
tmszi May 30, 2023
6172c13
wxGUI: adding a button for undocking an AuiNotebook tab to wx.Frame (…
lindakarlovska Jun 2, 2023
acac021
r.terraflow: Add flow direction encoding information to the manual (#…
HuidaeCho Jun 2, 2023
7e8b831
Translations update from OSGeo Weblate (#2946)
osgeoweblate Jun 2, 2023
dc88d85
wxGUI: fix show MASK statusbar button widget if mask is created (#2520)
tmszi Jun 2, 2023
549dee5
wxGUI: fix exception when switching to mapset (#2994)
lindakarlovska Jun 3, 2023
19ab2f3
t.rast.algebra/testsuite: split file test_raster_algebra.py (#2974)
neteler Jun 3, 2023
ffb6e51
gui: restrict north/south to 90/-90 and west/east to -180/180 (#1881)
HuidaeCho Jun 3, 2023
99cf88c
CI(deps): Update alpine Docker tag to v3.18 (#2953)
renovate[bot] Jun 4, 2023
e887353
Show ModelRelation in white on dark mode (#2997)
landam Jun 4, 2023
e298bca
d.rast.arrow: Support Terraflow (ArcGIS) directions (#2987)
HuidaeCho Jun 4, 2023
94cd15f
lib/bitmap: Fix a potential memory leak (#3004)
lbartoletti Jun 5, 2023
0fa1549
CI: Reduce number of Python jobs (#3014)
wenzeslaus Jun 6, 2023
b56634b
wxGUI/query: set region matching the raster for each raster queried (…
petrasovaa Jun 6, 2023
43daba2
parent 464ffca1e1fbb98107593ee60c43a8449e567eed
rkanavath Jun 11, 2017
f9c5cf0
revert C related INFINITY/NAN changes (this is taken care of in #2681)
neteler Dec 5, 2022
f9b1ba7
Sync to PR Cmake build2 #348 (replaces #348)
neteler Dec 5, 2022
4889de7
CI fix for pylint in gui/wxpython called with wildcard
neteler Dec 5, 2022
9eed8bc
cmake/find_scripts/FindPROJ.cmake: update to PROJ > 4
neteler Dec 5, 2022
67cdeee
cmake/find_scripts/FindPostgreSQL.cmake: update to https://github.com…
neteler Dec 5, 2022
faea30b
various path updates (sync to main)
neteler Dec 5, 2022
7f39bb3
grass7 -> grass8; msg cosmetics
neteler Dec 5, 2022
96862bd
CI: cmake compile script
neteler Dec 6, 2022
d9f674e
fix syntax
neteler Dec 10, 2022
49c5d5b
fix Build step
neteler Dec 10, 2022
b2669e5
Build step debugging
neteler Dec 11, 2022
18bf7f0
Simplify cmake command call
neteler Jan 2, 2023
f76f68f
Remove debugging leftover.
neteler Jan 2, 2023
ba6c07d
make -> cmake
neteler Jan 2, 2023
76576db
update year
neteler Jan 2, 2023
2be2b75
python_bandref -> python_semantic_label
neteler Jan 2, 2023
e8126e7
remove outdated bandref
neteler Jan 2, 2023
52123fe
bandref -> semantic_label
neteler Jan 2, 2023
91461d5
added python/CMakeLists.txt (from https://github.com/OSGeo/grass/pull…
neteler Jan 2, 2023
87ef0aa
add_subdirectory(python)
neteler Jan 2, 2023
aecd006
fix path to grass/script/setup.py
neteler Jan 2, 2023
4b23a6c
remove files deleted in PR #1400
neteler Jan 2, 2023
0a43a1c
Fix missing EOL
neteler Jan 2, 2023
e5becb7
just peek in the folder (by @echoix)
neteler Jan 3, 2023
fd5500d
sync clang-format changes from main
neteler Jan 4, 2023
9565839
apply clang-format
nilason Jan 4, 2023
0afe71f
cmake_minimum_required version 3.11
neteler Jan 4, 2023
617f58d
update to CMake 3.11.4
neteler Jan 4, 2023
a9c23d7
add VERBATIM
neteler Jan 4, 2023
3f1f5a1
pylint: ignore cmakelists.txt
nilason Jan 5, 2023
6301f3e
homogenize ubuntu image name
neteler Jan 4, 2023
d88134e
use of INFINITY and NAN
lbartoletti Jun 5, 2023
8c06b79
Simplify and use PROJ_H_
lbartoletti Jun 3, 2023
6b54a06
CMakeLists.txt: add include_irectories to grass
lbartoletti Jun 3, 2023
1852e08
raster/CMakeLists.txt: fix GDAL_VERSION
lbartoletti Jun 3, 2023
dccaac0
add aprintf.c
lbartoletti Jun 4, 2023
c02053f
v.neighbors requires grass_stats
lbartoletti Jun 4, 2023
b222913
ctypesgen.py: main module is not ctypesgen.py but run.py. fix it.
lbartoletti Jun 4, 2023
062b852
lib/rst: fix build. Remove DEFS POINT2D_C
lbartoletti Jun 5, 2023
075e42e
python: copy grassdb
lbartoletti Jun 5, 2023
555cdb2
propose ccache to speedup build
lbartoletti Jun 5, 2023
754872d
mkhtml.py depends on a sibling python script
aaronsms Jun 5, 2023
9ef6a2b
make libraster libvector link with lapack when it is available
aaronsms Jun 5, 2023
161f1f9
add the 3 missing raster modules
aaronsms Jun 5, 2023
ce13ea1
display: add d.rgb, d.rhumbline, d.text, d.title, d.vect.*
lbartoletti Jun 5, 2023
1541875
raster: enable r3.mapcalc
lbartoletti Jun 5, 2023
2af6d2e
raster: enable r.object.geometry
lbartoletti Jun 6, 2023
1c2b3dd
ps: enable ps.map
lbartoletti Jun 6, 2023
028a323
python/grass: add utils (will be used by g.download.location scripts)
lbartoletti Jun 6, 2023
1edfee8
scripts: add d.background, g.download.location, i.band.library, r.sem…
lbartoletti Jun 6, 2023
6a12d3a
temporal: add t.copy and t.upgrade
lbartoletti Jun 6, 2023
0f90e77
add an optional cmake to use alternate linker
lbartoletti Jun 6, 2023
ce74248
gui/wxpython: copy main_window dir
lbartoletti Jun 6, 2023
31b53b5
init: copy lock, echo, run, clean_temp and winlocale
lbartoletti Jun 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
docker
!docker/testdata
!docker/alpine/grass_tests.sh
.gitignore
.github
.travis
Expand Down
11 changes: 7 additions & 4 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[flake8]
ignore =
E203, # whitespace before ':' (Black)
W503, # line break before binary operator (Black)
# whitespace before ':' (Black)
E203,
# line break before binary operator (Black)
W503,

per-file-ignores =
# Files and directories which need fixes or specific exceptions
Expand Down Expand Up @@ -54,6 +56,7 @@ per-file-ignores =
gui/wxpython/core/render.py: E722, F841, E501
gui/wxpython/core/ws.py: F841, E501
gui/wxpython/core/settings.py: E722
gui/wxpython/core/watchdog.py: E402
gui/wxpython/datacatalog/tree.py: E731, E402, E501
gui/wxpython/dbmgr/base.py: E501, E722, F841
gui/wxpython/dbmgr/dialogs.py: E501, F841, E722
Expand Down Expand Up @@ -200,7 +203,7 @@ per-file-ignores =
scripts/v.report/v.report.py: F841, E501
scripts/db.out.ogr/db.out.ogr.py: F841
scripts/g.extension/g.extension.py: F841, E722, E501
scripts/r.unpack/r.unpack.py: E722, E501
scripts/r.unpack/r.unpack.py: E501
scripts/v.unpack/v.unpack.py: F841, E722, E501
scripts/v.import/v.import.py: F841, E722, E501
scripts/db.univar/db.univar.py: E741, E501
Expand All @@ -211,7 +214,7 @@ per-file-ignores =
scripts/r.fillnulls/r.fillnulls.py: E722, E501
scripts/d.rast.edit/d.rast.edit.py: E722, E501
scripts/v.what.strds/v.what.strds.py: E722, E501
scripts/i.in.spotvgt/i.in.spotvgt.py: E722, E501
scripts/i.in.spotvgt/i.in.spotvgt.py: E501
# Line too long (esp. module interface definitions)
scripts/*/*.py: E501
# local variable 'column' is assigned to but never used
Expand Down
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
open_collective: grass
open_collective: grass/contribute
8 changes: 8 additions & 0 deletions .github/workflows/additional_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ on:
- main
- releasebranch_*

concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true

jobs:
additional-checks:
name: Additional checks
Expand All @@ -38,6 +42,10 @@ jobs:
with:
python-version: '3.10'

- name: Check that files with the same content are the same
run: |
diff Dockerfile docker/ubuntu/Dockerfile

- name: Generate core modules with last commit JSON file and test it
run: |
python -m pip install pytest pytest-depends
Expand Down
44 changes: 0 additions & 44 deletions .github/workflows/black.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .github/workflows/build_centos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ export CXXFLAGS="-std=gnu++11"
--without-mysql \
--without-postgres \
--without-odbc \
--without-fftw
--without-fftw \
--without-pdal

make
make install
4 changes: 4 additions & 0 deletions .github/workflows/centos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
- main
- releasebranch_*

concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true

jobs:
build:
name: ${{ matrix.os }} build
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,17 @@ on:
branches:
- main
- releasebranch_*
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/clang-format-action@v4.10.2
uses: jidicula/clang-format-action@v4.11.0
with:
clang-format-version: '15'
check-path: .
91 changes: 91 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# inspired by "build GDAL library and to run test with CMake"
# from https://github.com/OSGeo/gdal/blob/master/.github/workflows/cmake_builds.yml

name: Build and test with CMake

on:
push:
paths-ignore:
- 'doc/**'
branches-ignore:
- 'backport**'
pull_request:
paths-ignore:
- 'doc/**'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

env:
CMAKE_UNITY_BUILD: OFF

permissions:
contents: read # to fetch code (actions/checkout)

jobs:

build-linux-ubuntu-20.04:
runs-on: ubuntu-20.04
env:
CMAKE_OPTIONS: -DPython_LOOKUP_VERSION=3.8 -DUSE_CCACHE=ON
cache-name: cmake-ubuntu-20.04
steps:
- name: Checkout GRASS
uses: actions/checkout@v3
- name: Setup cache
uses: actions/cache@v3
id: cache
with:
path: ${{ github.workspace }}/.ccache
key: ${{ runner.os }}-${{ env.cache-name }}-${{ github.base_ref }}${{ github.ref_name }}-${{ github.run_id }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-${{ github.base_ref }}
${{ runner.os }}-${{ env.cache-name }}
- name: Install CMake 3.11.4
run: |
cd ${GITHUB_WORKSPACE}
wget https://github.com/Kitware/CMake/releases/download/v3.11.4/cmake-3.11.4-Linux-x86_64.tar.gz
tar xzf cmake-3.11.4-Linux-x86_64.tar.gz
echo "CMAKE_DIR=$GITHUB_WORKSPACE/cmake-3.11.4-Linux-x86_64/bin" >> $GITHUB_ENV
echo "$GITHUB_WORKSPACE/cmake-3.11.4-Linux-x86_64/bin" >> $GITHUB_PATH
- run: |
cmake --version
- name: Install dependencies
run: |
sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
sudo apt-get update
sudo apt-get install -y -q build-essential \
flex make bison gcc libgcc1 g++ ccache \
python3 python3-dev \
python3-opengl python3-wxgtk4.0 \
python3-dateutil libgsl-dev python3-numpy \
wx3.0-headers wx-common libwxgtk3.0-gtk3-dev \
libwxbase3.0-dev libbz2-dev zlib1g-dev gettext \
libtiff5-dev libpnglite-dev libcairo2 libcairo2-dev \
sqlite3 libsqlite3-dev \
libpq-dev libreadline6-dev libfreetype6-dev \
libfftw3-3 libfftw3-dev \
libboost-thread-dev libboost-program-options-dev libpdal-dev\
subversion libzstd-dev checkinstall \
libglu1-mesa-dev libxmu-dev \
ghostscript wget -y make ccache g++
sudo apt-get update -y
- name: Configure ccache
run: |
echo CCACHE_BASEDIR=$PWD >> ${GITHUB_ENV}
echo CCACHE_DIR=$PWD/.ccache >> ${GITHUB_ENV}
echo CCACHE_MAXSIZE=250M >> ${GITHUB_ENV}
ccache -z
working-directory: ${{ github.workspace }}
- name: Configure
run: |
mkdir build
cmake ${CMAKE_OPTIONS} -S $GITHUB_WORKSPACE -B $GITHUB_WORKSPACE/build
- name: Build
run: |
cd $GITHUB_WORKSPACE/build
cmake --build . -j$(nproc)
- name: ccache statistics
run: ccache -s

6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
TAG_PREFIX=`echo $GITHUB_REF|cut -d '/' -f3`
fi
tag="${DOCKERHUB_REPOSITORY}:${TAG_PREFIX}-${{ matrix.os }}"
echo "::set-output name=tags::$tag"
echo "tags=$tag" >> $GITHUB_OUTPUT
- name: Log
run: |
echo ${{ steps.meta.outputs.tags }}
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
name: Create tag name
run: |
tag=${DOCKERHUB_REPOSITORY}:latest
echo "::set-output name=tags::$tag"
echo "tags=$tag" >> $GITHUB_OUTPUT
- name: Log
run: echo ${{ steps.meta.outputs.tags }}
- name: Set up QEMU
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
name: Update tag name
run: |
tag="${{ steps.meta.outputs.tags }}-${{ matrix.os }}"
echo "::set-output name=tags::$tag"
echo "tags=$tag" >> $GITHUB_OUTPUT
- name: Log
run: |
echo ${{ steps.meta2.outputs.tags }}
Expand Down
37 changes: 0 additions & 37 deletions .github/workflows/flake8.yml

This file was deleted.

5 changes: 5 additions & 0 deletions .github/workflows/gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
build:
name: ${{ matrix.c }} & ${{ matrix.cpp }}

concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}-${{
matrix.c }}-${{ matrix.cpp }}
cancel-in-progress: true

runs-on: ubuntu-22.04
strategy:
matrix:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on:
- releasebranch_*
env:
CACHE_NUMBER: 0
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
macos_build:
name: macOS build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos_gunittest.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# space. This would be ideally empty or it would include just special cases,
# but it includes mainly tests which can (and should) be fixed.
exclude =
gui/wxpython/core/testsuite/test_gcmd.py
gui/wxpython/core/testsuite/toolboxes.sh
lib/init/testsuite/test_grass_tmp_mapset.py
python/grass/gunittest/testsuite/test_assertions_rast3d.py
Expand All @@ -23,7 +24,6 @@ exclude =
raster/r.in.pdal/testsuite/test_r_in_pdal_selection.py
raster/r.terraflow/testsuite/test_r_terraflow.py
raster/r.sun/testsuite/test_rsun.py
scripts/g.extension/testsuite/test_addons_download.py
scripts/g.search.modules/testsuite/test_g_search_modules.py
temporal/t.connect/testsuite/test_distr_tgis_db_raster3d.py
temporal/t.connect/testsuite/test_distr_tgis_db_raster.py
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/macos_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ CONFIGURE_FLAGS="\
--with-nls \
--with-libs=${CONDA_PREFIX}/lib \
--with-includes=${CONDA_PREFIX}/include \
--with-pdal=${CONDA_PREFIX}/bin/pdal-config \
--with-pdal \
--with-readline \
--with-readline-includes=${CONDA_PREFIX}/include/readline \
--with-readline-libs=${CONDA_PREFIX}/lib
Expand All @@ -71,6 +71,8 @@ export CXXFLAGS="-O2 -pipe -stdlib=libc++ -arch ${CONDA_ARCH} -Wall -Wextra"

./configure $CONFIGURE_FLAGS

make -j$(sysctl -n hw.ncpu) CFLAGS="$CFLAGS -Werror" CXXFLAGS="$CXXFLAGS -Werror"
EXEMPT="-Wno-error=deprecated-non-prototype"
make -j$(sysctl -n hw.ncpu) CFLAGS="$CFLAGS -Werror $EXEMPT" \
CXXFLAGS="$CXXFLAGS -Werror $EXEMPT"

make install
Loading