mirror of
https://github.com/pion/mediadevices.git
synced 2025-09-27 12:52:20 +08:00
Skip mmal package in CI
This commit is contained in:
12
.github/workflows/ci.yaml
vendored
12
.github/workflows/ci.yaml
vendored
@@ -30,15 +30,15 @@ jobs:
|
|||||||
libvpx-dev \
|
libvpx-dev \
|
||||||
libx264-dev
|
libx264-dev
|
||||||
- name: go vet
|
- name: go vet
|
||||||
run: go vet ./...
|
run: go vet $(go list ./... | grep -v mmal)
|
||||||
- name: go build
|
- name: go build
|
||||||
run: go build ./...
|
run: go build $(go list ./... | grep -v mmal)
|
||||||
- name: go build without CGO
|
- name: go build without CGO
|
||||||
run: go build . pkg/...
|
run: go build . pkg/...
|
||||||
env:
|
env:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
- name: go test
|
- name: go test
|
||||||
run: go test ./... -v -race -coverprofile=coverage.txt -covermode=atomic
|
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic $(go list ./... | grep -v mmal)
|
||||||
- uses: codecov/codecov-action@v1
|
- uses: codecov/codecov-action@v1
|
||||||
if: matrix.go == '1.15'
|
if: matrix.go == '1.15'
|
||||||
- name: go test without CGO
|
- name: go test without CGO
|
||||||
@@ -66,15 +66,15 @@ jobs:
|
|||||||
libvpx \
|
libvpx \
|
||||||
x264
|
x264
|
||||||
- name: go vet
|
- name: go vet
|
||||||
run: go vet ./...
|
run: go vet $(go list ./... | grep -v mmal)
|
||||||
- name: go build
|
- name: go build
|
||||||
run: go build ./...
|
run: go build $(go list ./... | grep -v mmal)
|
||||||
- name: go build without CGO
|
- name: go build without CGO
|
||||||
run: go build . pkg/...
|
run: go build . pkg/...
|
||||||
env:
|
env:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
- name: go test
|
- name: go test
|
||||||
run: go test ./... -v -race
|
run: go test -v -race $(go list ./... | grep -v mmal)
|
||||||
- name: go test without CGO
|
- name: go test without CGO
|
||||||
run: go test . pkg/... -v
|
run: go test . pkg/... -v
|
||||||
env:
|
env:
|
||||||
|
Reference in New Issue
Block a user