Skip to content

Commit 01bb39d

Browse files
committed
Fix build
1 parent 513cd40 commit 01bb39d

File tree

1 file changed

+24
-22
lines changed

1 file changed

+24
-22
lines changed

.github/workflows/dynamic-build.yml

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,21 @@ jobs:
2020
os: [ubuntu-latest]
2121
build_type: [Release]
2222
staticcompile: [ON, OFF]
23-
c_compiler: [gcc, clang, cl]
23+
c_compiler: [gcc]
2424
include:
2525
- os: ubuntu-latest
2626
c_compiler: gcc
2727
cpp_compiler: g++
28-
- os: ubuntu-latest
29-
c_compiler: clang
30-
cpp_compiler: clang++
31-
exclude:
32-
- os: windows-latest
33-
c_compiler: gcc
34-
- os: windows-latest
35-
c_compiler: clang
36-
- os: ubuntu-latest
37-
c_compiler: cl
28+
# - os: ubuntu-latest
29+
# c_compiler: clang
30+
# cpp_compiler: clang++
31+
# exclude:
32+
# - os: windows-latest
33+
# c_compiler: gcc
34+
# - os: windows-latest
35+
# c_compiler: clang
36+
# - os: ubuntu-latest
37+
# c_compiler: cl
3838

3939
steps:
4040
- uses: actions/checkout@v4
@@ -69,7 +69,7 @@ jobs:
6969
- name: Install dependencies for Linux
7070
if: matrix.os == 'ubuntu-latest'
7171
run: |
72-
sudo apt-get update && sudo apt-get install -yq help2man libgmp-dev libmpfr-dev libarmadillo-dev libmlpack-dev libensmallen-dev
72+
sudo apt-get update && sudo apt-get install -yq help2man libgmp-dev libmpfr-dev libmlpack-dev libensmallen-dev
7373
# wget https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.xz
7474
# tar xf gmp-6.3.0.tar.xz
7575
# cd gmp-6.3.0
@@ -166,16 +166,16 @@ jobs:
166166
make -j6
167167
sudo make install
168168
169-
- name: Checkout armadillo
170-
run: |
171-
wget https://sourceforge.net/projects/arma/files/armadillo-14.0.2.tar.xz
172-
- name: Build armadillo
173-
run: |
174-
tar xvf armadillo-14.0.2.tar.xz
175-
cd armadillo-14.0.2/
176-
./configure
177-
make -j6
178-
sudo make install
169+
# - name: Checkout armadillo
170+
# run: |
171+
# wget https://sourceforge.net/projects/arma/files/armadillo-14.0.2.tar.xz
172+
# - name: Build armadillo
173+
# run: |
174+
# tar xvf armadillo-14.0.2.tar.xz
175+
# cd armadillo-14.0.2/
176+
# ./configure
177+
# make -j6
178+
# sudo make install
179179

180180
- name: Checkout ensmallen
181181
run: |
@@ -254,6 +254,8 @@ jobs:
254254
-S ${{ github.workspace }}
255255
256256
- name: Build
257+
shell: bash
258+
working-directory: ${{runner.workspace}}/build
257259
run: cmake --build . --config ${{matrix.build_type}}
258260

259261
- name: Test

0 commit comments

Comments
 (0)