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
22 changes: 22 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 2
updates:
- package-ecosystem: "vcpkg"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "chore(deps)"

- package-ecosystem: "gitsubmodule"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "chore(submodules)"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "chore(ci)"
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
VERSION: ${{ needs.plan.outputs.version }}
run: |
docker run --rm -e VERSION -e CCACHE_DIR=/src/build/musl-ccache -e CCACHE_MAXSIZE=1200M -v "$PWD:/src" -w /src alpine:3.22 sh -ec '
apk add --no-cache ccache cmake ninja clang20 lld20 libc++-dev libc++-static llvm-libunwind-dev llvm-libunwind-static gcc g++ musl-dev linux-headers file binutils
apk add --no-cache ccache cmake ninja clang20 lld20 libc++-dev libc++-static llvm-libunwind-dev llvm-libunwind-static gcc g++ musl-dev linux-headers file binutils git curl zip unzip tar pkgconf
ccache --zero-stats
trap ".github/scripts/report-ccache.sh build/musl-ccache-summary.md" EXIT
cmake --preset linux-musl -DCMAKE_C_COMPILER=clang-20 -DCMAKE_CXX_COMPILER=clang++-20 \
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
job-summary: ''
max-size: 800M
key: ${{ matrix.target }}
- uses: actions/setup-java@v4
- uses: actions/setup-java@v6
with:
distribution: temurin
java-version: '17'
Expand Down Expand Up @@ -326,7 +326,7 @@ jobs:
envs: VERSION CCACHE_DIR CCACHE_MAXSIZE
cpu: 4
mem: 8192
prepare: ${{ matrix.cross && 'pkg install -y cmake' || 'pkg install -y ccache cmake ninja' }}
prepare: ${{ matrix.cross && 'pkg install -y cmake git curl zip unzip' || 'pkg install -y ccache cmake ninja git curl zip unzip pkgconf' }}
run: |
set -eu
if [ "${{ matrix.cross }}" = false ]; then
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

# CMake
/build/
/vcpkg_installed/
.cache/
compile_commands.json

Expand Down
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
cmake_minimum_required(VERSION 3.28)

if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/wire/CMakeLists.txt)
message(FATAL_ERROR "wire/ is empty. Run: git submodule update --init")
endif()
include(${CMAKE_CURRENT_SOURCE_DIR}/wire/cmake/BasaltVcpkg.cmake)

project(basalt-proxy
VERSION 26.3.0
DESCRIPTION "Basalt Proxy: a Minecraft proxy written from scratch"
Expand Down
9 changes: 9 additions & 0 deletions vcpkg-configuration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg-configuration.schema.json",
"overlay-ports": [
"./wire/vcpkg-overlays/ports"
],
"overlay-triplets": [
"./wire/vcpkg-overlays/triplets"
]
}
23 changes: 23 additions & 0 deletions vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"name": "basalt-proxy",
"version-semver": "26.3.0",
"builtin-baseline": "ec48c11eae9448c8c6e7739d93e06fa2433aa95f",
"dependencies": [
"c-ares",
"doctest",
"lua",
"mbedtls",
"monocypher",
"simdjson",
{
"name": "sqlite3",
"default-features": false,
"features": [
"omit-load-extension"
]
},
"zlib",
"zstd"
]
}
2 changes: 1 addition & 1 deletion wire
Submodule wire updated 822 files
Loading