mirror of
https://github.com/TokTok/c-toxcore
synced 2026-06-07 19:43:15 +00:00
feat: Add binary packing functions for tox events.
This commit is contained in:
@@ -4,7 +4,12 @@ set -eu
|
||||
|
||||
NPROC=$(nproc)
|
||||
|
||||
sudo apt-get install -y --no-install-recommends libopus-dev libsodium-dev libvpx-dev ninja-build
|
||||
sudo apt-get install -y --no-install-recommends \
|
||||
libmsgpack-dev \
|
||||
libopus-dev \
|
||||
libsodium-dev \
|
||||
libvpx-dev \
|
||||
ninja-build
|
||||
|
||||
. ".github/scripts/flags-$CC.sh"
|
||||
|
||||
|
||||
@@ -7,7 +7,12 @@ NPROC=$(sysctl -n hw.physicalcpu)
|
||||
# Workaround for bug in Homebrew where it only finds an old Ruby version.
|
||||
brew update
|
||||
|
||||
brew install libconfig libsodium libvpx opus
|
||||
brew install \
|
||||
libconfig \
|
||||
libsodium \
|
||||
libvpx \
|
||||
msgpack \
|
||||
opus
|
||||
|
||||
. ".github/scripts/flags-clang.sh"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
i686=true
|
||||
x86_64=false
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
i686=false
|
||||
x86_64=true
|
||||
|
||||
@@ -7,14 +7,12 @@ set -eu
|
||||
NPROC=$(nproc)
|
||||
|
||||
ci_install() {
|
||||
cd other/docker/windows
|
||||
|
||||
docker build \
|
||||
--build-arg SUPPORT_ARCH_i686="$i686" \
|
||||
--build-arg SUPPORT_ARCH_x86_64="$x86_64" \
|
||||
--build-arg SUPPORT_TEST=true \
|
||||
-t toxcore-"$WINDOWS_ARCH" \
|
||||
.
|
||||
other/docker/windows
|
||||
}
|
||||
|
||||
ci_script() {
|
||||
|
||||
@@ -2,7 +2,13 @@
|
||||
|
||||
set -eu
|
||||
|
||||
sudo apt-get install -y --no-install-recommends libconfig-dev libopus-dev libsodium-dev libvpx-dev ninja-build
|
||||
sudo apt-get install -y --no-install-recommends \
|
||||
libconfig-dev \
|
||||
libmsgpack-dev \
|
||||
libopus-dev \
|
||||
libsodium-dev \
|
||||
libvpx-dev \
|
||||
ninja-build
|
||||
|
||||
. ".github/scripts/flags-gcc.sh"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user