diff --git a/.github/workflows/release-nearby-qml-tray.yaml b/.github/workflows/release-nearby-qml-tray.yaml index d4299170..67303894 100644 --- a/.github/workflows/release-nearby-qml-tray.yaml +++ b/.github/workflows/release-nearby-qml-tray.yaml @@ -68,7 +68,7 @@ jobs: qt6-tools-dev \ qt6-tools-dev-tools - - name: Build and install Nearby shared library + - name: Build and install Nearby Sharing API shared library id: nearby run: | INSTALL_PREFIX="$RUNNER_TEMP/nearby-install" @@ -82,12 +82,12 @@ jobs: --copt='-DGITHUB_BUILD' \ --copt='-fvisibility=hidden' \ --cxxopt='-fvisibility-inlines-hidden' \ - //sharing/linux:nearby_connections_service_linux_shared + //sharing/linux:nearby_sharing_api_shared BAZEL_BIN="$(bazel info bazel-bin)" install -d "$INSTALL_PREFIX/lib" install -d "$INSTALL_PREFIX/include/sharing/linux" - install -m 0755 "$BAZEL_BIN/sharing/linux/libnearby_connections_service_linux_shared.so" "$INSTALL_PREFIX/lib/" - install -m 0644 "sharing/linux/nearby_connections_qt_facade.h" "$INSTALL_PREFIX/include/sharing/linux/" + install -m 0755 "$BAZEL_BIN/sharing/linux/libnearby_sharing_api_shared.so" "$INSTALL_PREFIX/lib/" + install -m 0644 "sharing/linux/nearby_sharing_api.h" "$INSTALL_PREFIX/include/sharing/linux/" echo "nearby_prefix=$INSTALL_PREFIX" >> "$GITHUB_OUTPUT" - name: Configure QML tray app diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml index 40a51e1d..668bcc19 100644 --- a/.github/workflows/validate.yaml +++ b/.github/workflows/validate.yaml @@ -29,6 +29,8 @@ jobs: run: CC=clang-18 CXX=clang-18++ BAZEL_CXXOPTS="-std=c++20" bazel build --@com_google_protobuf//bazel/toolchains:prefer_prebuilt_protoc=true --copt='-DGITHUB_BUILD' //connections:core - name: Build Presence run: CC=clang-18 CXX=clang-18++ BAZEL_CXXOPTS="-std=c++20" bazel build --@com_google_protobuf//bazel/toolchains:prefer_prebuilt_protoc=true --copt='-DGITHUB_BUILD' //presence + - name: Build Nearby Sharing Linux shared API + run: CC=clang-18 CXX=clang-18++ BAZEL_CXXOPTS="-std=c++20" bazel build --@com_google_protobuf//bazel/toolchains:prefer_prebuilt_protoc=true --copt='-DGITHUB_BUILD' //sharing/linux:nearby_sharing_api_shared build-rust-linux: name: Build Rust on Linux