mirror of
https://codeberg.org/cunicu/cunicu.git
synced 2025-10-05 08:47:03 +08:00
6
.github/workflows/build.yaml
vendored
6
.github/workflows/build.yaml
vendored
@@ -91,7 +91,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: ${{ matrix.target_os == 'linux' }}
|
if: ${{ matrix.host_os == 'linux' }}
|
||||||
run: sudo apt-get install -y
|
run: sudo apt-get install -y
|
||||||
coturn
|
coturn
|
||||||
protobuf-compiler
|
protobuf-compiler
|
||||||
@@ -99,14 +99,14 @@ jobs:
|
|||||||
libpcap-dev
|
libpcap-dev
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: ${{ matrix.target_os == 'darwin' }}
|
if: ${{ matrix.host_os == 'darwin' }}
|
||||||
run: brew install
|
run: brew install
|
||||||
protobuf
|
protobuf
|
||||||
make
|
make
|
||||||
libpcap
|
libpcap
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: ${{ matrix.target_os == 'windows' }}
|
if: ${{ matrix.host_os == 'windows' }}
|
||||||
run: choco install
|
run: choco install
|
||||||
protoc
|
protoc
|
||||||
make
|
make
|
||||||
|
5
Makefile
5
Makefile
@@ -15,7 +15,7 @@ ifeq ($(GOOS),linux)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
GINKGO_PKG ?= ./...
|
GINKGO_PKG ?= ./...
|
||||||
GINKGO_OPTS += --compilers=$(shell nproc) \
|
GINKGO_OPTS += --compilers=2 \
|
||||||
--keep-going \
|
--keep-going \
|
||||||
--timeout=15m \
|
--timeout=15m \
|
||||||
--trace \
|
--trace \
|
||||||
@@ -26,8 +26,7 @@ GINKGO_OPTS += --compilers=$(shell nproc) \
|
|||||||
--output-dir=./test/logs \
|
--output-dir=./test/logs \
|
||||||
--randomize-all \
|
--randomize-all \
|
||||||
--randomize-suites \
|
--randomize-suites \
|
||||||
$(GINKGO_EXTRA_OPTS) $(GINKGO_PKG) \
|
$(GINKGO_EXTRA_OPTS) $(GINKGO_PKG) -- $(GINKGO_TEST_OPTS)
|
||||||
-- $(GINKGO_TEST_OPTS)
|
|
||||||
|
|
||||||
all: wice
|
all: wice
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user