Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Fedora image #432

Merged
merged 34 commits into from
Nov 28, 2024
Merged
Changes from 15 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
ae74387
add Fedora image
20DM Sep 26, 2024
1c7f138
no submodules here
20DM Sep 26, 2024
1be74b6
apt-get to dnf
20DM Sep 26, 2024
c03c2b0
assume yes
20DM Sep 26, 2024
d47cd28
assume yes for both, d'oh
20DM Sep 26, 2024
a84ff8c
devel typo
20DM Sep 26, 2024
efdd17b
path debug
20DM Sep 26, 2024
54f666b
adjust path for container image
20DM Sep 26, 2024
c02c0c8
install cmake
20DM Sep 26, 2024
3f29506
gcc missing??
20DM Sep 26, 2024
0a5c102
meh
20DM Sep 26, 2024
85b36df
try tiff devel
20DM Sep 26, 2024
b285583
need Catch2 v3
20DM Sep 26, 2024
f619b34
no git??
20DM Sep 26, 2024
cbad455
try pointing CMake at Catch2
20DM Sep 26, 2024
a4b7471
Merge branch 'development' into cg_fedora_support
20DM Oct 8, 2024
8f50e9a
add fedora image to matrix
20DM Nov 28, 2024
09c0e0e
add container to job name
20DM Nov 28, 2024
4db4bd3
replace exclude with include
20DM Nov 28, 2024
fd49c6c
undo CC if else
20DM Nov 28, 2024
4ca0a9c
avoid list notation
20DM Nov 28, 2024
5a6fe87
try curly braces
20DM Nov 28, 2024
a5b3abc
remove CC
20DM Nov 28, 2024
bda71b3
add Fedora to the matrix
20DM Nov 28, 2024
c710bb4
make image value a string
20DM Nov 28, 2024
a7c1831
exclude Ubuntu step for Fedora
20DM Nov 28, 2024
20ec9ab
follow ChatGPT advice
20DM Nov 28, 2024
c1463e3
use uncersioned gcc for Fedora image
20DM Nov 28, 2024
d492268
fix path
20DM Nov 28, 2024
e2c7cdf
try loading mpi module
20DM Nov 28, 2024
0488191
fix if statement
20DM Nov 28, 2024
3742362
fall back to empty string if variable not defined
20DM Nov 28, 2024
bd4bdd0
remove rogue i
20DM Nov 28, 2024
f9d7cba
disable MPI for Fedora
20DM Nov 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ env:
jobs:
make-documentation:
runs-on: ubuntu-22.04
container: fedora:39
steps:
- name: Check out sopt
uses: actions/checkout@v3
with:
submodules: recursive

# Enable tmate debugging of manually-triggered workflows if the input option was provided
- name: Setup tmate session
Expand All @@ -32,8 +31,9 @@ jobs:

- name: Install dependencies
run: |
sudo apt update
sudo apt install openmpi-bin libopenmpi-dev libyaml-cpp-dev doxygen graphviz ccache libeigen3-dev libtiff-dev
sudo dnf -y update
sudo dnf -y install cmake gcc gcc-c++
sudo dnf -y install openmpi openmpi-devel yaml-cpp doxygen graphviz ccache eigen3-devel libtiff-devel git

- name: Checkout Catch2
uses: actions/checkout@v4
Expand All @@ -52,9 +52,8 @@ jobs:
- name: Build
run: |
export CMAKE_PREFIX_PATH=${{github.workspace}}/local:$CMAKE_PREFIX_PATH
mkdir ${{github.workspace}}/build
cd ${{github.workspace}}/build
cmake .. --fresh -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/local -Ddompi=OFF -Dopenmp=OFF -Ddocs=ON -Donnxrt=ON
mkdir build && cd build
cmake .. --fresh -DCMAKE_INSTALL_PREFIX=${PWD}/../local -Ddompi=OFF -Dopenmp=OFF -Ddocs=ON -Donnxrt=ON
make -j$(nproc --ignore 1)
make -j$(nproc --ignore 1) install

Expand Down
Loading