ci: fix build

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
Steffen Vogel
2022-08-25 18:16:19 +02:00
parent a5c90ff61c
commit d7f748ff89
2 changed files with 5 additions and 6 deletions

View File

@@ -91,7 +91,7 @@ jobs:
- uses: actions/checkout@v2
- name: Install dependencies
if: ${{ matrix.target_os == 'linux' }}
if: ${{ matrix.host_os == 'linux' }}
run: sudo apt-get install -y
coturn
protobuf-compiler
@@ -99,14 +99,14 @@ jobs:
libpcap-dev
- name: Install dependencies
if: ${{ matrix.target_os == 'darwin' }}
if: ${{ matrix.host_os == 'darwin' }}
run: brew install
protobuf
make
libpcap
- name: Install dependencies
if: ${{ matrix.target_os == 'windows' }}
if: ${{ matrix.host_os == 'windows' }}
run: choco install
protoc
make

View File

@@ -15,7 +15,7 @@ ifeq ($(GOOS),linux)
endif
GINKGO_PKG ?= ./...
GINKGO_OPTS += --compilers=$(shell nproc) \
GINKGO_OPTS += --compilers=2 \
--keep-going \
--timeout=15m \
--trace \
@@ -26,8 +26,7 @@ GINKGO_OPTS += --compilers=$(shell nproc) \
--output-dir=./test/logs \
--randomize-all \
--randomize-suites \
$(GINKGO_EXTRA_OPTS) $(GINKGO_PKG) \
-- $(GINKGO_TEST_OPTS)
$(GINKGO_EXTRA_OPTS) $(GINKGO_PKG) -- $(GINKGO_TEST_OPTS)
all: wice