@@ -47,29 +47,24 @@ jobs:
4747 - name : Build packages
4848 run : make build-package
4949
50- - name : Install driver dev package (DEB)
51- run : make -C packaging/smoke-test-app install-driver-dev-deb
50+ - name : Install driver dev package
51+ run : make -C packaging/smoke-test-app install-driver-dev
5252
53- - name : Build smoke-test application package (DEB)
53+ - name : Build smoke-test application package
5454 run : make -C packaging/smoke-test-app package
5555
56- - name : Install driver dev package (DEB)
57- run : make -C packaging/smoke-test-app install-driver-dev-deb
58-
59- - name : Install smoke-test application package (DEB)
60- run : make -C packaging/smoke-test-app install-app-deb
56+ - name : Install smoke-test application package
57+ run : make -C packaging/smoke-test-app install-app
6158
62- - name : Run smoke-test application against local Scylla
63- run : make -C packaging/smoke-test-app test-package
59+ - name : Test smoke-test application
60+ run : make -C packaging/smoke-test-app test-app- package
6461
6562 - name : Collect artifacts
6663 run : |
6764 set -euo pipefail
6865 shopt -s nullglob
6966 mkdir -p artifacts/linux
70- for file in build/*.deb build/*.rpm \
71- packaging/smoke-test-app/build/*.deb \
72- packaging/smoke-test-app/build/*.rpm; do
67+ for file in build/*.deb build/*.rpm; do
7368 cp "$file" artifacts/linux/
7469 done
7570
@@ -89,47 +84,17 @@ jobs:
8984 - name : Build packages
9085 run : make build-package
9186
92- - name : Build smoke-test application package
93- run : make -C packaging/smoke-test-app package BUILD_TYPE=${{ inputs.build-type }}
94-
95- - name : Install driver packages (pkg)
96- run : |
97- set -euo pipefail
98- shopt -s nullglob
99- packages=(build/*.pkg)
100- if [ "${#packages[@]}" -eq 0 ]; then
101- echo "No driver pkg packages produced"
102- exit 1
103- fi
104- echo "Installing ${#packages[@]} pkg package(s):"
105- for pkg in "${packages[@]}"; do
106- echo " - $(basename "$pkg")"
107- done
108- # Install all packages (macOS productbuild creates a single package with components)
109- for pkg in "${packages[@]}"; do
110- sudo installer -pkg "$pkg" -target /
111- done
87+ - name : Install driver dev package
88+ run : make -C packaging/smoke-test-app install-driver-dev
11289
113- - name : Verify dev package installation
114- run : |
115- set -euo pipefail
116- # Verify headers are installed
117- if [ ! -f /usr/local/include/cassandra.h ]; then
118- echo "ERROR: cassandra.h header not found - dev package may not be installed"
119- exit 1
120- fi
121- # Verify pkg-config file is installed
122- if ! PKG_CONFIG_PATH=/usr/local/lib/pkgconfig pkg-config --exists scylla-cpp-driver; then
123- echo "ERROR: scylla-cpp-driver.pc not found - dev package may not be installed"
124- exit 1
125- fi
126- echo "Dev package verification successful"
90+ - name : Build smoke-test application package
91+ run : make -C packaging/smoke-test-app package
12792
128- - name : Install smoke-test application package (pkg)
129- run : make -C packaging/smoke-test-app install-app-pkg
93+ - name : Install smoke-test application package
94+ run : make -C packaging/smoke-test-app install-app
13095
131- - name : Run smoke-test application against local Scylla
132- run : make -C packaging/smoke-test-app test-package
96+ - name : Test smoke-test application
97+ run : make -C packaging/smoke-test-app test-app- package
13398
13499 - name : Collect artifacts
135100 run : |
0 commit comments