Skip to content

Commit 3560411

Browse files
committed
CI
1 parent 869db98 commit 3560411

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

Diff for: .github/workflows/cmake.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,6 @@ jobs:
4949
/etc/yum.repos.d/CentOS-SCLo-scl*.repo
5050
yum -y install devtoolset-11-gcc-c++
5151
yum -y install cmake3
52-
- name: Update glibc
53-
run: |
54-
yum -y install wget
55-
cd ~
56-
wget http://ftp.gnu.org/gnu/glibc/glibc-2.28.tar.gz
57-
tar xf glibc-2.28.tar.gz
58-
cd glibc-2.28/ && mkdir build && cd build
59-
../configure --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin --enable-obsolete-nsl
60-
make
61-
make localedata/install-locales
62-
make install
6352
- name: Install OpenAL Soft dependencies
6453
run: yum -y install ${{matrix.PACKAGES}}
6554
#./autogen.sh -Dprefix=/usr -Dtests=disabled -Dexamples=disabled -Dsession-managers=[] -Dgstreamer=disabled -Davb=disabled -Dv4l2=disabled
@@ -82,6 +71,17 @@ jobs:
8271
source scl_source enable devtoolset-11 || true
8372
cmake3 --build build --parallel
8473
strip build/libopenal.so
74+
- name: Update glibc
75+
run: |
76+
yum -y install wget
77+
cd ~
78+
wget http://ftp.gnu.org/gnu/glibc/glibc-2.28.tar.gz
79+
tar xf glibc-2.28.tar.gz
80+
cd glibc-2.28/ && mkdir build && cd build
81+
../configure --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin --enable-obsolete-nsl
82+
make
83+
make localedata/install-locales
84+
make install
8585
- name: Upload artifact
8686
uses: actions/upload-artifact@v4
8787
with:
@@ -230,7 +230,7 @@ jobs:
230230
with:
231231
fetch-depth: 3
232232
- name: Configure build
233-
run: cmake -B build -G "Visual Studio 17 2022" -A ${{matrix.PLATFORM}} -T ClangCL -DALSOFT_REQUIRE_WINMM=ON -DALSOFT_REQUIRE_DSOUND=ON -DALSOFT_REQUIRE_WASAPI=ON -DALSOFT_EMBED_HRTF_DATA=ON -DFORCE_STATIC_VCRT=ON -DALSOFT_EAX=OFF
233+
run: cmake -B build -G "Visual Studio 17 2022" -A ${{matrix.PLATFORM}} -DALSOFT_REQUIRE_WINMM=ON -DALSOFT_REQUIRE_DSOUND=ON -DALSOFT_REQUIRE_WASAPI=ON -DALSOFT_EMBED_HRTF_DATA=ON -DFORCE_STATIC_VCRT=ON -DALSOFT_EAX=OFF # -T ClangCL
234234
- name: Build
235235
run: cmake --build build --parallel --config Release
236236
- name: Rename file

0 commit comments

Comments
 (0)