Skip mmal package in CI

This commit is contained in:
Lukas Herman
2020-10-25 19:28:55 -07:00
parent 4f9822349a
commit 82f33cb572

View File

@@ -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: