Skip to content

Commit f01476c

Browse files
committed
testing workflow
1 parent f7a460e commit f01476c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build_wheels.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ jobs:
3434
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
3535
CIBW_BUILD_VERBOSITY: "3"
3636
CIBW_BEFORE_ALL: |
37-
git clone https://github.com/shibatch/sleef.git
37+
git clone --branch 3.8 https://github.com/shibatch/sleef.git
3838
cd sleef
39-
cmake -S . -B build -DSLEEF_BUILD_QUAD:BOOL=ON -DSLEEF_BUILD_SHARED_LIBS:BOOL=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_INSTALL_PREFIX=../../install
39+
cmake -S . -B build -DSLEEF_BUILD_QUAD:BOOL=ON -DSLEEF_BUILD_SHARED_LIBS:BOOL=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON
4040
cmake --build build/ --clean-first -j
4141
cmake --install build --prefix /usr/local
4242
CIBW_ENVIRONMENT: >
@@ -78,15 +78,15 @@ jobs:
7878
env:
7979
MACOSX_DEPLOYMENT_TARGET: "11.0"
8080
run: |
81-
git clone https://github.com/shibatch/sleef.git
81+
git clone --branch 3.8 https://github.com/shibatch/sleef.git
8282
cd sleef
8383
cmake -S . -B build \
8484
-DSLEEF_BUILD_QUAD:BOOL=ON \
8585
-DSLEEF_BUILD_SHARED_LIBS:BOOL=ON \
8686
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
8787
-DCMAKE_OSX_DEPLOYMENT_TARGET=11.0 \
8888
-DCMAKE_INSTALL_RPATH="@loader_path/../lib" \
89-
-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
89+
-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
9090
cmake --build build/ --clean-first -j
9191
sudo cmake --install build --prefix /usr/local
9292
- name: Install cibuildwheel
@@ -145,7 +145,7 @@ jobs:
145145
- name: Clone and Build SLEEF
146146
shell: pwsh
147147
run: |
148-
git clone https://github.com/shibatch/sleef.git
148+
git clone --branch 3.8 https://github.com/shibatch/sleef.git
149149
cd sleef
150150
cmake -S . -B build -G "Visual Studio 17 2022" -A ${{ matrix.architecture == 'x86' && 'Win32' || 'x64' }} -DSLEEF_BUILD_QUAD:BOOL=ON -DSLEEF_BUILD_SHARED_LIBS:BOOL=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON
151151
cmake --build build --config Release --parallel

0 commit comments

Comments
 (0)