@@ -2,7 +2,7 @@ name: Build CI
22
33on :
44 push :
5- branches : [" main" ]
5+ branches : [' main' ]
66 pull_request :
77 workflow_dispatch :
88
3030 architecture : x86_64
3131 buildtype : release
3232 library_type : static
33- shell : " msys2 {0}"
33+ shell : ' msys2 {0}'
3434
3535 - name : Windows UCRT Release
3636 os : windows
3939 architecture : ucrt-x86_64
4040 buildtype : release
4141 library_type : static
42- shell : " msys2 {0}"
42+ shell : ' msys2 {0}'
4343
4444 - name : Linux Release
4545 os : ubuntu
@@ -90,15 +90,14 @@ jobs:
9090 steps :
9191 - uses : actions/checkout@v4
9292 with :
93- fetch-depth : " 0 "
93+ fetch-depth : ' 0 '
9494
9595 - name : Setup MSVC (Windows)
9696 if : matrix.config.os == 'windows' && matrix.config.environment == 'msvc'
9797 uses : TheMrMilchmann/setup-msvc-dev@v3
9898 with :
9999 arch : x64
100- toolset : " 14.41"
101-
100+ toolset : ' 14.41'
102101
103102 - name : Setup MYSYS2 (Windows)
104103 if : matrix.config.os == 'windows' && ( matrix.config.environment == 'mingw' || matrix.config.environment == 'ucrt' )
@@ -126,7 +125,7 @@ jobs:
126125 wget https://apt.llvm.org/llvm.sh
127126 chmod +x llvm.sh
128127 sudo ./llvm.sh 19
129- sudo apt-get install libc++-19* libc++abi*19* -y
128+ sudo apt-get install libc++-19* libc++abi*19* -y --no-install-recommends
130129 echo "CC=clang-19" >> "$GITHUB_ENV"
131130 echo "CXX=clang++-19" >> "$GITHUB_ENV"
132131 echo "OBJC=clang-19" >> "$GITHUB_ENV"
@@ -143,7 +142,7 @@ jobs:
143142 # Also install the newest g++ (For the libstd++ library)
144143 echo "deb http://archive.ubuntu.com/ubuntu/ oracular main" | sudo tee -a /etc/apt/sources.list.d/new_ubuntu.list
145144 sudo apt-get update
146- sudo apt-get install libstdc++-14-dev -y
145+ sudo apt-get install libstdc++-14-dev -y --no-install-recommends
147146 sudo rm -rf /etc/apt/sources.list.d/new_ubuntu.list
148147 sudo apt-get update
149148
@@ -171,7 +170,7 @@ jobs:
171170 echo "OBJC_LD=lld" >> "$GITHUB_ENV"
172171
173172 - name : Unbreak Python in GHA (MacOS 13 image)
174- if : matrix.config.os == 'macos' && matrix.config.os-version == 13
173+ if : matrix.config.os == 'macos' && matrix.config.os-version == 13
175174 run : |
176175 # TODO: remove this, after it works again
177176 # A workaround for "The `brew link` step did not complete successfully" error.
@@ -196,7 +195,7 @@ jobs:
196195 if : matrix.config.os == 'ubuntu'
197196 run : |
198197 sudo apt-get update
199- sudo apt-get install ninja-build libsdl2-2.0-0 libsdl2-dev libsdl2-ttf* libsdl2-mixer* libsdl2-image* -y
198+ sudo apt-get install ninja-build libsdl2-2.0-0 libsdl2-dev libsdl2-ttf* libsdl2-mixer* libsdl2-image* -y --no-install-recommends
200199
201200 - name : Install dependencies (MacOS)
202201 if : matrix.config.os == 'macos'
@@ -205,10 +204,10 @@ jobs:
205204 brew install sdl2 sdl2_ttf sdl2_mixer sdl2_image
206205
207206 - name : Configure
208- run : meson setup build -Dbuildtype=${{ matrix.config.buildtype }} -Ddefault_library=${{ matrix.config.library_type }} -Dclang_libcpp=${{ ( ( matrix.config.os == 'ubuntu' && matrix.config.use-clang == true && matrix.config.use-clang_stdlib ) || matrix.config.os == 'macos' ) && 'enabled' || 'disabled' }}
207+ run : meson setup build -Dbuildtype=${{ matrix.config.buildtype }} -Ddefault_library=${{ matrix.config.library_type }} -Dclang_libcpp=${{ ( ( matrix.config.os == 'ubuntu' && matrix.config.use-clang == true && matrix.config.use-clang_stdlib ) || matrix.config.os == 'macos' ) && 'enabled' || 'disabled' }}
209208
210209 - name : Build
211- run : meson compile -C build
210+ run : meson compile -C build
212211
213212 - name : Upload artifacts
214213 uses : actions/upload-artifact@v4
0 commit comments