@@ -22,12 +22,29 @@ jobs:
22
22
sudo apt update
23
23
sudo apt install openmpi-bin libopenmpi-dev ccache casacore-dev doxygen graphviz libeigen3-dev libspdlog-dev libtiff-dev libcfitsio-dev libbenchmark-dev libboost-all-dev libyaml-cpp-dev
24
24
wget --no-check-certificate --no-verbose http://www.fftw.org/fftw-3.3.10.tar.gz -O- | tar --no-same-owner -xz;
25
- cd fftw-3.3.10
26
- ./configure --prefix=${{github.workspace}}/build --enable-shared
27
- make -j$(nproc --ignore 1) install CFLAGS=-fPIC
28
- # Fix bug in FFT3 (cf. https://github.com/FFTW/fftw3/issues/332)
29
- sed -i -e 's/^.*FFTW3LibraryDepends.cmake.*$//1' ${{github.workspace}}/build/lib*/cmake/*/FFTW3Config.cmake
30
- cd -
25
+
26
+ - name : Checkout Catch2
27
+ uses : actions/checkout@v4
28
+ with :
29
+ repository : catchorg/Catch2.git
30
+ path : Catch2
31
+ ref : v3.4.0
32
+
33
+ - name : Build Catch2
34
+ run : |
35
+ mkdir Catch2/build
36
+ cd Catch2/build
37
+ cmake .. -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/local
38
+ make -j$(nproc --ignore 1) install
39
+
40
+ - name : Install FFTW
41
+ run : |
42
+ wget --no-check-certificate --no-verbose http://www.fftw.org/fftw-3.3.10.tar.gz -O- | tar --no-same-owner -xz;
43
+ cd fftw-3.3.10
44
+ ./configure --prefix=${{github.workspace}}/local --enable-shared
45
+ make -j$(nproc --ignore 1) install CFLAGS=-fPIC
46
+ # Fix bug in FFT3 (cf. https://github.com/FFTW/fftw3/issues/332)
47
+ sed -i -e 's/^.*FFTW3LibraryDepends.cmake.*$//1' ${{github.workspace}}/local/lib*/cmake/*/FFTW3Config.cmake
31
48
32
49
- name : Checkout SOPT
33
50
uses : actions/checkout@v3
@@ -41,15 +58,15 @@ jobs:
41
58
export CMAKE_PREFIX_PATH=${{github.workspace}}/build:$CMAKE_PREFIX_PATH
42
59
mkdir sopt/build
43
60
cd sopt/build
44
- cmake .. -DCMAKE_INSTALL_PREFIX=${PWD} -Ddocasa=OFF -Ddompi=OFF -Dopenmp=OFF -Ddocs=OFF -Dtests=OFF
61
+ cmake .. -DCMAKE_INSTALL_PREFIX=${PWD} -Ddocasa=OFF -Ddompi=OFF -Dopenmp=OFF -Ddocs=OFF -Dtests=OFF -Dexamples=OFF
45
62
make -j$(nproc --ignore 1) install
46
63
47
64
- name : Configure
48
65
run : |
49
66
export CMAKE_PREFIX_PATH=${{github.workspace}}/build:$CMAKE_PREFIX_PATH
50
67
mkdir -p ${{github.workspace}}/build
51
68
cd ${{github.workspace}}/build
52
- cmake .. -DCMAKE_INSTALL_PREFIX=${PWD} -Ddompi=OFF -Dopenmp=OFF -Ddocs=ON -Dtests=OFF
69
+ cmake .. -DCMAKE_INSTALL_PREFIX=${PWD} -Ddompi=OFF -Dopenmp=OFF -Ddocs=ON
53
70
54
71
- name : Build
55
72
run : |
0 commit comments