Skip to content

Commit e0cae00

Browse files
authored
CI: Temporarily disable jobs for optimizing CI time during sprint (#5670)
* CI: Temporarily disable matrix strategies For optimizing CI usage during a coding sprint * CI: Combine gcc workflow flags with Ubuntu jobs * CI: Disable pull_request trigger in GCC workflow
1 parent 472e944 commit e0cae00

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

.github/workflows/gcc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
branches:
77
- main
88
- releasebranch_*
9-
pull_request:
9+
# pull_request:
1010

1111
permissions: {}
1212

.github/workflows/pytest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- ubuntu-22.04
2525
python-version:
2626
- "3.9"
27-
- "3.12"
27+
# - "3.12"
2828
- "3.13"
2929
fail-fast: true
3030

.github/workflows/ubuntu.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
matrix:
2828
name:
2929
- "22.04"
30-
- minimum config
30+
# - minimum config
3131

3232
# Only run tests for these folders in this matrix job.
3333
extra-include:
@@ -53,12 +53,14 @@ jobs:
5353
- name: "22.04"
5454
os: ubuntu-22.04
5555
config: ubuntu-22.04
56+
c: gnu17
57+
cxx: c++17
5658
# This is without optional things but it still keeps things useful,
5759
# so, e.g., without OpenMP, but with PDAL. Code or tests should be written
5860
# so that test pass even when these optional things are not present.
59-
- name: minimum config
60-
os: ubuntu-22.04
61-
config: ubuntu-22.04_without_x
61+
# - name: minimum config
62+
# os: ubuntu-22.04
63+
# config: ubuntu-22.04_without_x
6264
fail-fast: false
6365

6466
steps:
@@ -131,10 +133,12 @@ jobs:
131133
- name: Build
132134
env:
133135
# TODO: -pedantic-errors here won't go through ./configure (with GNU C)
134-
CFLAGS: -fPIC -Wvla -ffp-contract=off
136+
CFLAGS: -std=${{ matrix.c }} -fPIC -Wvla -ffp-contract=off -Wall -Wextra
135137
# TODO: -pedantic-errors here won't compile
136-
CXXFLAGS: -fPIC -ffp-contract=off
137-
run: .github/workflows/build_${{ matrix.config }}.sh $HOME/install -Werror
138+
CXXFLAGS: -std=${{ matrix.cxx }} -fPIC -ffp-contract=off -Wall -Wextra
139+
run: |
140+
.github/workflows/build_${{ matrix.config }}.sh $HOME/install \
141+
-isystem/usr/include/gdal -Wpedantic -Werror
138142
139143
- name: Add the bin directory to PATH
140144
run: |

0 commit comments

Comments
 (0)