Skip to content

Commit b8a73e2

Browse files
committed
Merge branch 'master' into dalework
2 parents 4358b49 + dcfc94b commit b8a73e2

File tree

4 files changed

+22
-16
lines changed

4 files changed

+22
-16
lines changed

.github/workflows/build-linux-clazy.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,16 @@ on:
99

1010
jobs:
1111
build-linux-clazy:
12+
# This build is only done on one Linux version as it is here only to get the warnings from clazy.
13+
# For other versions see build-linux.yml
1214
runs-on: ubuntu-latest
1315
steps:
14-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v4
1517
- run: sudo apt update
16-
- run: sudo apt install -y clazy apt-utils build-essential wget qt5-qmake qt5-qmake-bin qt5-assistant qtbase5-dev qtmultimedia5-dev libqt5charts5 libqt5charts5-dev libqt5multimedia* libqt5datavisualization5-dev libqt5datavisualization5 libopencv-core-dev libopencv-core4.5d libopencv-dev libqwt-qt5-6 libqwt-qt5-dev libarmadillo-dev libarmadillo10
18+
- run: sudo apt install -y clazy apt-utils build-essential wget qt5-qmake qt5-qmake-bin qt5-assistant qtbase5-dev qtmultimedia5-dev libqt5charts5 libqt5charts5-dev libqt5multimedia* libqt5datavisualization5-dev libqt5datavisualization5 libopencv-core-dev libopencv-dev libqwt-qt5-6 libqwt-qt5-dev libarmadillo-dev
1719
- run: qmake -spec linux-clang QMAKE_CXX="clazy"
1820
#- uses: ammaraskar/gcc-problem-matcher@master #TODO 2023/08/05 re-enable problem matcher when all warnings are fixed
1921
# ignore noisy dirs from QT files itself
2022
# all level 1 checks but ignore clazy-no-connect-by-name
2123
# no parallel make with clazy to not mess log
22-
- run: export CLAZY_IGNORE_DIRS=.*usr.* && export CLAZY_CHECKS="level1,no-connect-by-name" && make
24+
- run: export CLAZY_IGNORE_DIRS=.*usr.* && export CLAZY_CHECKS="level1,no-connect-by-name" && make

.github/workflows/build-linux.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,18 @@ on:
99

1010
jobs:
1111
build-linux:
12-
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
os: [ubuntu-24.04, ubuntu-22.04]
16+
runs-on: ${{ matrix.os }}
1317
steps:
1418
- uses: actions/checkout@v4
1519
- run: sudo apt update
16-
- run: sudo apt install -y apt-utils build-essential wget qt5-qmake qt5-qmake-bin qt5-assistant qtbase5-dev qtmultimedia5-dev libqt5charts5 libqt5charts5-dev libqt5multimedia* libqt5datavisualization5-dev libqt5datavisualization5 libopencv-core-dev libopencv-core4.5d libopencv-dev libqwt-qt5-6 libqwt-qt5-dev libarmadillo-dev libarmadillo10
20+
- run: sudo apt install -y apt-utils build-essential wget qt5-qmake qt5-qmake-bin qt5-assistant qtbase5-dev qtmultimedia5-dev libqt5charts5 libqt5charts5-dev libqt5multimedia* libqt5datavisualization5-dev libqt5datavisualization5 libopencv-core-dev libopencv-dev libqwt-qt5-6 libqwt-qt5-dev libarmadillo-dev
1721
- run: qmake
1822
- uses: ammaraskar/gcc-problem-matcher@master
1923
- run: echo "::add-matcher::.github/matcher/uic_matcher.json"
2024
- run: make -j4
2125
- run: echo "::remove-matcher owner=uic-problem-matcher::"
22-
26+

.github/workflows/build-windows.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
workflow_call:
99

1010
env:
11-
armadillo_version: 12.6.7
11+
armadillo_version: 14.4.0
1212
QWT_version: 6.1.6
1313
openCV_version: 4.6.0
1414
QT_version: 5.15.2
@@ -228,7 +228,7 @@ jobs:
228228
- uses: actions/checkout@v4
229229
# with:
230230
# path: 'DFTFringe'
231-
231+
232232
# copy all files for problem matcher to work
233233
- name: copy files into build folder (problem matcher workaround)
234234
run: |
@@ -303,7 +303,7 @@ jobs:
303303
# suffix will be commit sha 5108ce7c3ac60bec1e0867bb10c4497db67e3606
304304
run: |
305305
echo "WORKFLOW_VERSION=${{github.sha}}" >> $env:GITHUB_ENV
306-
306+
307307
- name: Find and Replace MY_AUTOMATED_VERSION_STRING
308308
run: |
309309
echo "${{env.WORKFLOW_VERSION}}"
@@ -318,7 +318,7 @@ jobs:
318318
run: |
319319
echo "${{env.NOW}}"
320320
(Get-Content DFTFringe/DFTFringeInstaller/packages/com.githubdoe.DFTFringe/meta/package.xml).replace('MY_AUTOMATED_DATE_STRING', '${{env.NOW}}') | Set-Content DFTFringe/DFTFringeInstaller/packages/com.githubdoe.DFTFringe/meta/package.xml
321-
321+
322322
- run: cd DFTFringe ; ..\${{env.QT_version}}\mingw81_64\bin\qmake.exe
323323
- run: echo "::add-matcher::.github/matcher/uic_matcher.json"
324324
- run: cd DFTFringe ; mingw32-make -j4
@@ -359,4 +359,4 @@ jobs:
359359
path: |
360360
DFTFringeInstaller_${{env.WORKFLOW_VERSION}}.exe
361361
DFTFringe.exe.debug
362-
362+

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Additional information and help is availlable at https://groups.io/g/Interferome
3535

3636
```
3737
sudo apt update
38-
sudo apt install -y apt-utils build-essential wget qt5-qmake qt5-qmake-bin qt5-assistant qtbase5-dev qtmultimedia5-dev libqt5charts5 libqt5charts5-dev libqt5multimedia* libqt5datavisualization5-dev libqt5datavisualization5 libopencv-core-dev libopencv-core4.5d libopencv-dev libqwt-qt5-6 libqwt-qt5-dev libarmadillo-dev libarmadillo10
38+
sudo apt install -y apt-utils build-essential wget qt5-qmake qt5-qmake-bin qt5-assistant qtbase5-dev qtmultimedia5-dev libqt5charts5 libqt5charts5-dev libqt5multimedia* libqt5datavisualization5-dev libqt5datavisualization5 libopencv-core-dev libopencv-dev libqwt-qt5-6 libqwt-qt5-dev libarmadillo-dev
3939
qmake
4040
make -j4
4141
```
@@ -170,11 +170,11 @@ cmake --build ./build_lapack -j4
170170

171171
#### Build Armadillo
172172

173-
Get [Armadillo](https://arma.sourceforge.net/) source code version 12.6.7 in your prefered way (clone the repo, download the archive, homing pigeon, ...) and have it in folder named `C:\buildingDFTFringe\armadillo-12.6.7`.
173+
Get [Armadillo](https://arma.sourceforge.net/) source code version 14.4.0 in your prefered way (clone the repo, download the archive, homing pigeon, ...) and have it in folder named `C:\buildingDFTFringe\armadillo-14.4.0`.
174174

175175
Then from within `C:\buildingDFTFringe` do the following:
176176
```
177-
cmake -D CMAKE_PREFIX_PATH=C:/buildingDFTFringe/build_lapack -G "MinGW Makefiles" -S armadillo-12.6.7 -B build_armadillo
177+
cmake -D CMAKE_PREFIX_PATH=C:/buildingDFTFringe/build_lapack -G "MinGW Makefiles" -S armadillo-14.4.0 -B build_armadillo
178178
cmake --build ./build_armadillo -j4
179179
```
180180

@@ -196,10 +196,10 @@ No additional modification required here.
196196

197197
#### Build Armadillo
198198

199-
Get [Armadillo](https://arma.sourceforge.net/) source code version 12.6.7 in your prefered way (clone the repo, download the archive, homing pigeon, ...) and have it in folder named `C:\buildingDFTFringe\armadillo-12.6.7`.
199+
Get [Armadillo](https://arma.sourceforge.net/) source code version 14.4.0 in your prefered way (clone the repo, download the archive, homing pigeon, ...) and have it in folder named `C:\buildingDFTFringe\armadillo-14.4.0`.
200200

201201
Then follow the information in `DFTFringe.pro` to create appropriate folders for header files and DLLs.
202-
Copy content from `armadillo-12.6.7\include` to `build_armadillo\tmp\include`.
202+
Copy content from `armadillo-14.4.0\include` to `build_armadillo\tmp\include`.
203203

204204
#### Copy all the DLLs
205205

0 commit comments

Comments
 (0)