Skip to content
Open
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
16 changes: 13 additions & 3 deletions .github/actions/build-with-host/action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

name: 'build-on-host'
description: 'Build the repository on the runner host system'
inputs:
Expand Down Expand Up @@ -33,7 +33,7 @@ inputs:
runs:
using: 'composite'
steps:
- name: Configure vcpkg to use Github Actions Cache
- name: Configure vcpkg to use Github Actions Cache
uses: actions/github-script@v7
with:
script: |
Expand All @@ -48,7 +48,7 @@ runs:
sudo -E apt-get update
sudo -E apt-get upgrade
# Install core build dependencies
sudo -E apt-get install -qq --no-install-recommends autoconf automake autopoint build-essential ca-certificates cmake curl git gnupg libltdl-dev libmount-dev libtool linux-libc-dev libstdc++-14-dev ninja-build pkg-config python3-jinja2 tar unzip zip
sudo -E apt-get install -qq --no-install-recommends autoconf automake autopoint build-essential ca-certificates cmake curl git gnupg libltdl-dev libmount-dev libtool linux-libc-dev libstdc++-14-dev ninja-build pkg-config python3-jinja2 tar unzip zip
# Install LLVM 18 toolchain
sudo -E apt-get install -qq --no-install-recommends libllvm-18-ocaml-dev libllvm18 llvm-18 llvm-18-dev llvm-18-doc llvm-18-examples llvm-18-runtime clang-18 clang-tools-18 clang-18-doc libclang-common-18-dev libclang-18-dev libclang1-18 clang-format-18 python3-clang-18 clangd-18 clang-tidy-18 libclang-rt-18-dev libpolly-18-dev libfuzzer-18-dev lldb-18 libc++-18-dev libc++abi-18-dev libomp-18-dev libclc-18-dev libunwind-18-dev libmlir-18-dev mlir-18-tools libbolt-18-dev bolt-18 flang-18 libclang-rt-18-dev-wasm32 libclang-rt-18-dev-wasm64 libc++-18-dev-wasm32 libc++abi-18-dev-wasm32 libclang-rt-18-dev-wasm32 libclang-rt-18-dev-wasm64 libllvmlibc-18-dev
# Install hostapd dependencies
Expand All @@ -60,6 +60,16 @@ runs:
run: cmake --preset ${{ inputs.preset-name }}-${{ inputs.os }} --fresh -DCMAKE_BUILD_TYPE=${{ inputs.build-type }}
shell: pwsh

- name: Upload vcpkg logs on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: vcpkg-logs-${{ runner.os }}-${{ inputs.build-type }}
path: |
${{ github.workspace }}-cmake/build/${{ inputs.preset-name }}-${{ inputs.os }}/vcpkg-manifest-install.log
${{ github.workspace }}/vcpkg/buildtrees/**/*.log
if-no-files-found: ignore

- name: CMake Configure Cross-Compile ${{ inputs.arch }}
if: ${{ inputs.arch }}
run: cmake --preset ${{ inputs.preset-name }}-${{ inputs.os }} --fresh -DCMAKE_BUILD_TYPE=${{ inputs.build-type }} -DNETREMOTE_EXCLUDE_TESTS=TRUE -A ${{ inputs.arch }}
Expand Down

This file was deleted.

60 changes: 0 additions & 60 deletions packaging/vcpkg/ports/abseil/portfile.cmake

This file was deleted.

27 changes: 0 additions & 27 deletions packaging/vcpkg/ports/abseil/vcpkg.json

This file was deleted.

2 changes: 1 addition & 1 deletion vcpkg
Submodule vcpkg updated 9262 files
98 changes: 47 additions & 51 deletions vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"name": "netremote",
"version-string": "0.5.2",
"builtin-baseline": "588319964489874699b378e3a94b4285126e112e",
"dependencies": [
{
"name": "vcpkg-cmake",
Expand All @@ -12,17 +13,13 @@
"host": true
}
],
"overrides": [
{
"name": "cli11",
"version": "2.3.1"
}
"default-features": [
"api",
"api-bindings",
"server",
"tests",
"tools"
],
"vcpkg-configuration": {
"overlay-ports": [
"packaging/vcpkg/ports/abseil"
]
},
"features": {
"api": {
"description": "Provide the API protocol buffers + gRPC .proto source files"
Expand All @@ -31,73 +28,72 @@
"description": "Provide the API protocol buffers + gRPC library bindings",
"dependencies": [
"grpc",
"protobuf",
{
"name": "netremote",
"features": [
"api"
]
}
"protobuf"
]
},
"server":{
"server": {
"description": "Provide the server binary",
"dependencies": [
{
"name": "netremote",
"features": [
"api-bindings"
]
},
{
"name": "sdbus-cpp",
"platform": "linux"
},
"cli11",
"grpc",
{
"name": "libsystemd",
"platform": "linux"
},
"cli11",
"magic-enum",
"nlohmann-json",
"plog",
"nlohmann-json"
"protobuf",
{
"name": "sdbus-cpp",
"platform": "linux"
}
]
},
"tests":{
"tests": {
"description": "Enable building the tests",
"dependencies": [
"catch2",
"cli11",
"grpc",
{
"name": "libsystemd",
"platform": "linux"
},
"magic-enum",
"nlohmann-json",
"plog",
"protobuf",
{
"name": "netremote",
"features": [
"api-bindings",
"server"
]
"name": "sdbus-cpp",
"platform": "linux"
}
]
},
"tools":{
"tools": {
"description": "Enable building the tools",
"dependencies": [
"cli11",
"grpc",
{
"name": "netremote",
"features": [
"api-bindings",
"server"
]
"name": "libsystemd",
"platform": "linux"
},
"magic-enum",
"nlohmann-json",
"plog",
"protobuf",
{
"name": "sdbus-cpp",
"platform": "linux"
}
]
}
},
"default-features": [
"api",
"api-bindings",
"server",
"tests",
"tools"
],
"builtin-baseline": "9224b3bbd8df24999d85720b1d005dd6f969ade0"
}
"overrides": [
{
"name": "cli11",
"version": "2.3.1"
}
]
}
Loading