Skip to content

Commit 19ed640

Browse files
committed
no sudo for container CIs
Signed-off-by: falkTX <falktx@falktx.com>
1 parent b161b25 commit 19ed640

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
- name: install dependencies
2727
shell: bash
2828
run: |
29-
sudo apt-get update -qq
30-
sudo apt-get install -yqq autoconf automake build-essential curl cmake git libasound2-dev libdbus-1-dev libgl1-mesa-dev libglib2.0-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev
29+
apt-get update -qq
30+
apt-get install -yqq autoconf automake build-essential curl cmake git libasound2-dev libdbus-1-dev libgl1-mesa-dev libglib2.0-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev
3131
- uses: actions/checkout@v3
3232
with:
3333
submodules: recursive
@@ -81,7 +81,7 @@ jobs:
8181
target: [win32, win64]
8282
runs-on: ubuntu-latest
8383
container:
84-
image: ubuntu:23.10
84+
image: debian:12
8585
steps:
8686
- uses: actions/cache@v3
8787
with:
@@ -91,14 +91,14 @@ jobs:
9191
- name: install dependencies
9292
shell: bash
9393
run: |
94-
sudo dpkg --add-architecture i386
95-
sudo apt-get update -qq
94+
dpkg --add-architecture i386
95+
apt-get update -qq
9696
if [ '${{ matrix.target }}' == 'win32' ]; then
97-
sudo apt-get install -yqq binutils-mingw-w64-i686 g++-mingw-w64-i686
97+
apt-get install -yqq binutils-mingw-w64-i686 g++-mingw-w64-i686
9898
else
99-
sudo apt-get install -yqq binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64
99+
apt-get install -yqq binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64
100100
fi
101-
sudo apt-get install -yqq autoconf automake curl cmake git mingw-w64 wine-stable
101+
apt-get install -yqq autoconf automake curl cmake git mingw-w64 wine-stable
102102
- uses: actions/checkout@v3
103103
with:
104104
submodules: recursive

0 commit comments

Comments
 (0)