triggermesh: CodeQL analysis broken after introducing IBM MQ components

https://github.com/triggermesh/triggermesh/runs/4750579570?check_suite_focus=true

go build ./cmd/...

[...]

# github.com/ibm-messaging/mq-golang/v5/ibmmq
Error: ../../../go/pkg/mod/github.com/ibm-messaging/mq-golang/v5@v5.2.4/ibmmq/mqi.go:54:10: fatal error: cmqc.h: No such file or directory
 54 | #include <cmqc.h>
    |          ^~~~~~~~
compilation terminated.

Maybe we need to install extra libraries as part of the workflow.

cc. @tzununbekov

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (17 by maintainers)

Most upvoted comments

I suppose no. We should add build tag for golangci runs (here) and then add this tag exclusions in the files that we want to skip (example). All other builds without this tag should not be affected.