@@ -32,30 +32,30 @@ jobs:
32
32
fi
33
33
fi
34
34
- name : Install dependencies
35
- if : ${{ env.REPO_ALIVE == 'true' }} == 'true'
35
+ if : ${{ env.REPO_ALIVE == 'true' }}
36
36
run : |
37
37
sudo apt-fast update
38
38
sudo apt-fast install -y libboost-all-dev
39
39
- name : Download Coverity Build Tool
40
- if : ${{ env.REPO_ALIVE == 'true' }} == 'true'
40
+ if : ${{ env.REPO_ALIVE == 'true' }}
41
41
run : |
42
42
wget -q https://scan.coverity.com/download/Linux --post-data "token=$TOKEN&project=$PROJ" -O /tmp/cov-analysis-linux64.tar.gz
43
43
mkdir /tmp/cov-analysis-linux64
44
44
tar xzf /tmp/cov-analysis-linux64.tar.gz --strip 1 -C /tmp/cov-analysis-linux64
45
45
- name : Checkout code
46
- if : ${{ env.REPO_ALIVE == 'true' }} == 'true'
46
+ if : ${{ env.REPO_ALIVE == 'true' }}
47
47
uses : actions/checkout@master
48
48
- name : Configure
49
- if : ${{ env.REPO_ALIVE == 'true' }} == 'true'
49
+ if : ${{ env.REPO_ALIVE == 'true' }}
50
50
run : |
51
51
cmake -S . -B build -G 'Unix Makefiles'
52
52
- name : Build with cov-build
53
- if : ${{ env.REPO_ALIVE == 'true' }} == 'true'
53
+ if : ${{ env.REPO_ALIVE == 'true' }}
54
54
run : |
55
55
export PATH=/tmp/cov-analysis-linux64/bin:$PATH
56
56
cov-build --dir cov-int cmake --build build -j2
57
57
- name : Submit the result to Coverity Scan
58
- if : ${{ env.REPO_ALIVE == 'true' }} == 'true'
58
+ if : ${{ env.REPO_ALIVE == 'true' }}
59
59
run : |
60
60
tar czvf $FILE cov-int
61
61
curl \
0 commit comments