Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,28 @@ jobs:
with:
build-dir: build

# Classic GNU make build. Not officially supported anymore, but kept as a
# sanity check so the legacy ./configure + make path keeps compiling. All
# standard components are built (--everything); tests are compiled but not
# run (cmake jobs above already cover the test signal). Samples are skipped.
# Uses the Linux-c++20 config to match the cmake default (C++20 since 1.15.0);
# the codebase has moved past C++17 in places (e.g. std::ranges).
linux-gcc-make-build:
runs-on: ubuntu-24.04
needs: changes
if: |
needs.changes.outputs.ci_core == 'true' ||
github.event_name == 'push' || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v5
- run: >-
sudo apt -y update &&
sudo apt -y install libssl-dev unixodbc-dev libltdl-dev libmysqlclient-dev libpq-dev
- name: Configure (classic make, C++20)
run: ./configure --config=Linux-c++20 --everything --no-samples
- name: Build libraries and testsuites
run: make -s -j$(nproc)

# ------------------------------------------------------------------------
# Linux cross-compile and other arch build-only probes
# ------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Crypto/testsuite/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ endif # FreeBSD
objects = CryptoTestSuite Driver \
CryptoTest DigestEngineTest ECTest \
EVPTest RSATest PKCS12ContainerTest \
EnvelopeTest
EnvelopeTest OpenSSLInitializerTest

target = testrunner
target_version = 1
Expand Down
13 changes: 8 additions & 5 deletions MongoDB/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ include $(POCO_BASE)/build/rules/global

INCLUDE += -I $(POCO_BASE)/MongoDB/include/Poco/MongoDB

objects = Array Binary Connection Cursor DeleteRequest Database \
Decimal128 Document Element GetMoreRequest InsertRequest JavaScriptCode \
KillCursorsRequest Message MessageHeader ObjectId QueryRequest \
RegularExpression ReplicaSet RequestMessage ResponseMessage \
UpdateRequest OpMsgMessage OpMsgCursor
objects = Array Binary Connection Database \
Decimal128 Document Element JavaScriptCode \
Message MessageHeader ObjectId \
OpMsgCursor OpMsgMessage \
PooledConnection PooledReplicaSetConnection \
ReadPreference RegularExpression \
ReplicaSet ReplicaSetConnection ReplicaSetURI \
ServerDescription TopologyDescription

target = PocoMongoDB
target_version = $(LIBVERSION)
Expand Down
2 changes: 1 addition & 1 deletion MongoDB/testsuite/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

include $(POCO_BASE)/build/rules/global

objects = Driver MongoDBTest MongoDBTestOpMsg MongoDBTestSuite
objects = Driver BSONTest MongoDBTest MongoDBTestOpMsg MongoDBTestSuite ReplicaSetTest

target = testrunner
target_version = 1
Expand Down
10 changes: 6 additions & 4 deletions Prometheus/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,18 @@ include $(POCO_BASE)/build/rules/global
objects = \
Collector \
Counter \
IntCounter \
Exporter \
Gauge \
Histogram \
IntCounter \
IntGauge \
LabeledMetric \
Histogram \
Registry \
TextExporter \
Metric \
MetricsRequestHandler \
MetricsServer \
ProcessCollector \
Registry \
TextExporter \
ThreadPoolCollector

target = PocoPrometheus
Expand Down
5 changes: 3 additions & 2 deletions Prometheus/testsuite/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ include $(POCO_BASE)/build/rules/global

objects = \
Driver \
CallbackMetricTest \
CounterTest \
GaugeTest \
HistogramTest \
IntCounterTest \
IntGaugeTest \
CallbackMetricTest \
HistogramTest \
ProcessCollectorTest \
PrometheusTestSuite

target = testrunner
Expand Down
Loading