mirror of
https://codeberg.org/cunicu/cunicu.git
synced 2025-09-27 05:06:02 +08:00
6
.github/workflows/build.yaml
vendored
6
.github/workflows/build.yaml
vendored
@@ -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
|
||||
|
5
Makefile
5
Makefile
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user