Skip to content

Commit

Permalink
chore: Add local bazel build (not in docker).
Browse files Browse the repository at this point in the history
  • Loading branch information
iphydf committed Jan 12, 2025
1 parent c26fa4a commit f3bd631
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -679,8 +679,8 @@ build:nix --build_tag_filters=-windows,-macos
build:nix --test_tag_filters=-windows,-macos

# Non-Nix local toolchains. Nix-Haskell doesn't work with local toolchains.
build:local --build_tag_filters=-no-cross,-windows,-macos
build:local --test_tag_filters=-no-cross,-windows,-macos
build:local --build_tag_filters=-no-cross,-windows,-macos,-ui
build:local --test_tag_filters=-no-cross,-windows,-macos,-ui

build:zig-cross --copt=-fPIC
build:zig-cross --dynamic_mode=off
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,11 @@ jobs:
docker build -t toxchat/toktok-stack:latest-dev -f tools/built/src/Dockerfile.dev .
local-build:
runs-on: ubuntu-22.04
if: false
runs-on: ubuntu-24.04
# if: false
env:
CC: clang
CXX: clang++
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -104,7 +107,7 @@ jobs:
run: |
. /home/runner/.nix-profile/etc/profile.d/nix.sh
nix-shell -p patchelf --run "patchelf --version"
bazel build --config=local //...
bazel test --config=local --config=remote -- //... -//jvm-toxcore-c/... -//third_party/...
mypy:
runs-on: ubuntu-22.04
Expand Down
2 changes: 1 addition & 1 deletion qtox
Submodule qtox updated 112 files

0 comments on commit f3bd631

Please sign in to comment.