Skip to content

Commit

Permalink
build: remove unnecessary target
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-roland committed Oct 25, 2023
1 parent ce5ee30 commit 435b37c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ jobs:
- name: Build & run tests
run: |
sudo apt install -y ninja-build
CMAKE_GENERATOR=Ninja make set_gen
make test
CMAKE_GENERATOR=Ninja make test
check_format:
name: Check codebase format with clang-format
Expand Down Expand Up @@ -63,8 +62,7 @@ jobs:
- name: Build project
run: |
sudo apt install -y ninja-build
CMAKE_GENERATOR=Ninja make set_gen
make all
CMAKE_GENERATOR=Ninja make
./build/tests/z_modular_test $Z_FEATURE_PUBLICATION $Z_FEATURE_SUBSCRIPTION $Z_FEATURE_QUERYABLE $Z_FEATURE_QUERY
continue-on-error: true
env:
Expand Down
6 changes: 0 additions & 6 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ Z_FEATURE_SUBSCRIPTION?=1
Z_FEATURE_QUERY?=1
Z_FEATURE_QUERYABLE?=1

# Generator
CMAKE_GENERATOR?="Unix Makefiles"

# zenoh-pico/ directory
ROOT_DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))

Expand Down Expand Up @@ -88,9 +85,6 @@ install: $(BUILD_DIR)/Makefile
test: make
ctest --verbose --test-dir build

set_gen:
cmake $(CMAKE_OPT) -B $(BUILD_DIR) -G $(CMAKE_GENERATOR)

crossbuilds: $(CROSSBUILD_TARGETS)

DOCKER_OK := $(shell docker version 2> /dev/null)
Expand Down

0 comments on commit 435b37c

Please sign in to comment.