Skip to content

Commit

Permalink
clean up yamls
Browse files Browse the repository at this point in the history
  • Loading branch information
20DM committed Jul 11, 2024
1 parent 5b9f0c3 commit 5b27c0e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 22 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,10 @@ jobs:
if [[ "$USE_CONAN" = 1 ]]; then
conan build ${{github.workspace}} -of ${{github.workspace}}/build -o dompi=${{matrix.mpi}} -o openmp=${{matrix.omp}} -o onnxrt=on -s compiler.cppstd=17
else
#export PATH=${{github.workspace}}/Catch2/build:$PATH
export CMAKE_PREFIX_PATH=${{github.workspace}}/Catch2/build/lib/cmake:$CMAKE_PREFIX_PATH
mkdir -p ${{github.workspace}}/build
mkdir ${{github.workspace}}/build
cd ${{github.workspace}}/build
cmake .. -DCMAKE_INSTALL_PREFIX=${PWD}
cmake .. --fresh -DCMAKE_INSTALL_PREFIX=${PWD}
make -j$(nproc --ignore 1) install
fi
Expand Down
22 changes: 3 additions & 19 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,31 +56,15 @@ jobs:
cd -
fi
- name: Install Tensorflow API on Ubuntu
uses: UCL/install-tensorflow-action@main
with:
version: 2.11.0
os: linux

- name: Configure
run: |
if [[ "$USE_CONAN" = 1 ]]; then
conan install ${{github.workspace}} -of ${{github.workspace}}/build --build missing -s compiler.libcxx=libstdc++11 -o dompi=off -o openmp=off -o docs=off -o onnxrt=on
else
export PATH=${{github.workspace}}/Catch2/build:$PATH
export CMAKE_PREFIX_PATH=${{github.workspace}}/Catch2/build/lib/cmake/Catch2:$CMAKE_PREFIX_PATH
mkdir ${{github.workspace}}/build
cd ${{github.workspace}}/build
cmake .. -DCMAKE_INSTALL_PREFIX=${PWD} -Ddompi=OFF -Dopenmp=OFF -Ddocs=ON -Donnxrt=ON
fi
- name: Build
run: |
if [[ "$USE_CONAN" = 1 ]]; then
conan build ${{github.workspace}} -of ${{github.workspace}}/build
else
export PATH=${{github.workspace}}/Catch2/build:$PATH
export CMAKE_PREFIX_PATH=${{github.workspace}}/Catch2/build/lib/cmake:$CMAKE_PREFIX_PATH
mkdir ${{github.workspace}}/build
cd ${{github.workspace}}/build
cmake .. --fresh -DCMAKE_INSTALL_PREFIX=${PWD} -Ddompi=OFF -Dopenmp=OFF -Ddocs=ON -Donnxrt=ON
make -j$(nproc --ignore 1)
make -j$(nproc --ignore 1) install
fi
Expand Down

0 comments on commit 5b27c0e

Please sign in to comment.