Skip to content

Commit 52046dc

Browse files
committed
CI: default options for apt
1 parent 3cde998 commit 52046dc

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ on:
1919
- "**.in"
2020
- "**.yml"
2121

22+
env:
23+
CMAKE_GENERATOR: Ninja
24+
HOMEBREW_NO_ANALYTICS: 1
25+
HOMEBREW_NO_AUTO_UPDATE: 1
26+
HOMEBREW_NO_INSTALL_UPGRADE: 1
27+
HOMEBREW_NO_INSTALL_CLEANUP: 1
28+
DEBIAN_FRONTEND: noninteractive
29+
TZ: Japan
2230
jobs:
2331
build-ubuntu:
2432
runs-on: ubuntu-latest
@@ -29,8 +37,8 @@ jobs:
2937
steps:
3038
- name: Install build dependancies
3139
run: |
32-
apt-get update
33-
apt-get install build-essential expect pkg-config fuse libfuse-dev git
40+
apt-get -y update
41+
apt-get -y -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold' install build-essential expect pkg-config fuse libfuse-dev git
3442
3543
- uses: actions/checkout@v3
3644
with:
@@ -85,8 +93,8 @@ jobs:
8593
options: "--user 0"
8694
steps:
8795
- run: |
88-
apt-get update
89-
apt-get install build-essential mingw-w64 git
96+
apt-get -y update
97+
apt-get -y -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold' install build-essential mingw-w64 git
9098
update-alternatives --set i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-posix
9199
update-alternatives --set i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix
92100
@@ -219,8 +227,8 @@ jobs:
219227

220228
- name: Install build dependancies
221229
run: |
222-
apt-get update
223-
apt-get install p7zip-full
230+
apt-get -y update
231+
apt-get -y -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold' install p7zip-full
224232
225233
- name: Prepare artifacts for release
226234
run: |

0 commit comments

Comments
 (0)