File tree Expand file tree Collapse file tree 2 files changed +41
-23
lines changed
Expand file tree Collapse file tree 2 files changed +41
-23
lines changed Original file line number Diff line number Diff line change @@ -3,28 +3,28 @@ name: ci-linux
33on :
44 push :
55 paths :
6- - ' ** '
7- - ' !COPYING'
8- - ' !COPYING-asm'
9- - ' !INSTALL'
10- - ' !**.md'
11- - ' !.clang*'
12- - ' !.gitignore'
13- - ' !.gitattributes'
14- - ' !.github/workflows/*'
15- - ' .github/workflows/ci-linux.yml'
6+ - " ** "
7+ - " !COPYING"
8+ - " !COPYING-asm"
9+ - " !INSTALL"
10+ - " !**.md"
11+ - " !.clang*"
12+ - " !.gitignore"
13+ - " !.gitattributes"
14+ - " !.github/workflows/*"
15+ - " .github/workflows/ci-linux.yml"
1616 pull_request :
1717 paths :
18- - ' ** '
19- - ' !COPYING'
20- - ' !COPYING-asm'
21- - ' !INSTALL'
22- - ' !**.md'
23- - ' !.clang*'
24- - ' !.gitignore'
25- - ' !.gitattributes'
26- - ' !.github/workflows/*'
27- - ' .github/workflows/ci-linux.yml'
18+ - " ** "
19+ - " !COPYING"
20+ - " !COPYING-asm"
21+ - " !INSTALL"
22+ - " !**.md"
23+ - " !.clang*"
24+ - " !.gitignore"
25+ - " !.gitattributes"
26+ - " !.github/workflows/*"
27+ - " .github/workflows/ci-linux.yml"
2828
2929jobs :
3030 ci-linux :
4747 steps :
4848 - name : Install dependencies
4949 run : |
50- sudo apt-fast update
50+ if ! apt-fast -- help &> /dev/null; then
51+ sudo add-apt-repository -u -y ppa:apt-fast/stable
52+ sudo apt-get update
53+ echo debconf apt-fast/maxdownloads string 16 | sudo debconf-set-selections
54+ echo debconf apt-fast/dlflag boolean true | sudo debconf-set-selections
55+ echo debconf apt-fast/aptmanager string apt-get | sudo debconf-set-selections
56+ DEBIAN_FRONTEND=noninteractive sudo apt install -y apt-fast
57+ else
58+ sudo apt-fast update
59+ fi
5160 sudo apt-fast install -y libboost-all-dev ninja-build
5261 - name : Checkout code
5362 uses : actions/checkout@master
Original file line number Diff line number Diff line change 3434 - name : Install dependencies
3535 if : ${{ env.REPO_ALIVE == 'true' }}
3636 run : |
37- sudo apt-fast update
38- sudo apt-fast install -y libboost-all-dev
37+ if ! apt-fast -- help &> /dev/null; then
38+ sudo add-apt-repository -u -y ppa:apt-fast/stable
39+ sudo apt-get update
40+ echo debconf apt-fast/maxdownloads string 16 | sudo debconf-set-selections
41+ echo debconf apt-fast/dlflag boolean true | sudo debconf-set-selections
42+ echo debconf apt-fast/aptmanager string apt-get | sudo debconf-set-selections
43+ DEBIAN_FRONTEND=noninteractive sudo apt install -y apt-fast
44+ else
45+ sudo apt-fast update
46+ fi
47+ sudo apt-fast install -y libboost-all-dev ninja-build
3948 - name : Download Coverity Build Tool
4049 if : ${{ env.REPO_ALIVE == 'true' }}
4150 run : |
You can’t perform that action at this time.
0 commit comments