Build: Run Coverity on Linux
@@ -222,13 +222,19 @@ jobs:
analyze-coverity:
name: Analyze Coverity
- runs-on: macos-latest
+ runs-on: ubuntu-latest
env:
JOB_TYPE: COVERITY
+ TOOLCHAINS: GCC5
if: github.repository_owner == 'acidanthera' && github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v2
+ - name: Install Dependencies
+ run: |
+ sudo apt-get update
+ sudo apt-get install curl nasm uuid-dev libssl-dev iasl
+
- name: CI Bootstrap
run: |
src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/ci-bootstrap.sh) && eval "$src" || exit 1
@@ -238,9 +244,8 @@ jobs:
- name: Run Coverity
working-directory: UDK
run: |
- src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/coverity/covstrap.sh) && eval "$src" || exit 1
+ src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/coverity/covstrap-linux.sh) && eval "$src" || exit 1
env:
COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
COVERITY_SCAN_EMAIL: ${{ secrets.COVERITY_SCAN_EMAIL }}
COVERITY_BUILD_COMMAND: ../build_oc.tool --skip-tests --skip-package RELEASE
- MAKE: /usr/bin/make
