Skip to content

Commit 0d6a747

Browse files
committed
Runbenchmarks?
1 parent 03fdf8e commit 0d6a747

File tree

1 file changed

+112
-112
lines changed

1 file changed

+112
-112
lines changed

.github/workflows/continuous-integration.yaml

+112-112
Original file line numberDiff line numberDiff line change
@@ -248,48 +248,48 @@ jobs:
248248
with:
249249
submodules: recursive
250250

251-
- name: Install Clang
252-
if: matrix.clangVer != null
253-
uses: KyleMayes/install-llvm-action@v1
254-
with:
255-
version: ${{ matrix.clangVer }}
256-
directory: "./llvm"
257-
env: on
258-
259-
- name: Install XCode
260-
if: matrix.os == 'macos-latest'
261-
uses: maxim-lobanov/[email protected]
262-
263-
# Tests must pass in both debug and release mode
264-
- name: Compile (Debug)
265-
run: |
266-
mkdir buildDebug
267-
cd buildDebug
268-
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_STANDARD=${{ matrix.cpp }} -DLIBRAPID_BUILD_EXAMPLES=on -DLIBRAPID_BUILD_TESTS=on -DLIBRAPID_GET_BLAS=${{ matrix.blas }} -DLIBRAPID_USE_MULTIPREC=${{ matrix.mpfr }}
269-
cmake --build . --config Debug
270-
env:
271-
CC: ${{ matrix.cc }}
272-
CXX: ${{ matrix.cxx }}
273-
274-
- name: Run Tests (Debug)
275-
run: |
276-
cd buildDebug
277-
ctest -C Debug --output-on-failure
278-
279-
- name: Compile (Release)
280-
run: |
281-
mkdir buildRelease
282-
cd buildRelease
283-
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=${{ matrix.cpp }} -DLIBRAPID_BUILD_EXAMPLES=on -DLIBRAPID_BUILD_TESTS=on -DLIBRAPID_GET_BLAS=${{ matrix.blas }} -DLIBRAPID_USE_MULTIPREC=${{ matrix.mpfr }}
284-
cmake --build . --config Release
285-
env:
286-
CC: ${{ matrix.cc }}
287-
CXX: ${{ matrix.cxx }}
251+
# - name: Install Clang
252+
# if: matrix.clangVer != null
253+
# uses: KyleMayes/install-llvm-action@v1
254+
# with:
255+
# version: ${{ matrix.clangVer }}
256+
# directory: "./llvm"
257+
# env: on
258+
259+
# - name: Install XCode
260+
# if: matrix.os == 'macos-latest'
261+
# uses: maxim-lobanov/[email protected]
262+
263+
# # Tests must pass in both debug and release mode
264+
# - name: Compile (Debug)
265+
# run: |
266+
# mkdir buildDebug
267+
# cd buildDebug
268+
# cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_STANDARD=${{ matrix.cpp }} -DLIBRAPID_BUILD_EXAMPLES=on -DLIBRAPID_BUILD_TESTS=on -DLIBRAPID_GET_BLAS=${{ matrix.blas }} -DLIBRAPID_USE_MULTIPREC=${{ matrix.mpfr }}
269+
# cmake --build . --config Debug
270+
# env:
271+
# CC: ${{ matrix.cc }}
272+
# CXX: ${{ matrix.cxx }}
273+
274+
# - name: Run Tests (Debug)
275+
# run: |
276+
# cd buildDebug
277+
# ctest -C Debug --output-on-failure
278+
279+
# - name: Compile (Release)
280+
# run: |
281+
# mkdir buildRelease
282+
# cd buildRelease
283+
# cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=${{ matrix.cpp }} -DLIBRAPID_BUILD_EXAMPLES=on -DLIBRAPID_BUILD_TESTS=on -DLIBRAPID_GET_BLAS=${{ matrix.blas }} -DLIBRAPID_USE_MULTIPREC=${{ matrix.mpfr }}
284+
# cmake --build . --config Release
285+
# env:
286+
# CC: ${{ matrix.cc }}
287+
# CXX: ${{ matrix.cxx }}
288288

289-
- name: Run Tests (Release)
290-
run: |
291-
cd buildRelease
292-
ctest -C Release --output-on-failure
289+
# - name: Run Tests (Release)
290+
# run: |
291+
# cd buildRelease
292+
# ctest -C Release --output-on-failure
293293

294294
build-docs:
295295
name: Build Documentation Locally
@@ -309,76 +309,76 @@ jobs:
309309
with:
310310
python-version: "3.9"
311311

312-
- name: Install Clang
313-
uses: KyleMayes/install-llvm-action@v1
314-
with:
315-
version: "15.0"
316-
directory: "./llvm"
317-
env: on
318-
319-
- name: Build Doxygen
320-
id: build_doxygen
321-
continue-on-error: true
322-
run: |
323-
git clone --recursive https://github.com/doxygen/doxygen.git
324-
cd doxygen
325-
git checkout Release_1_9_7
326-
mkdir build
327-
cd build
328-
cmake .. -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles"
329-
cmake --build . --config Release
330-
sudo make install
331-
env:
332-
CC: gcc
333-
CXX: g++
334-
335-
- name: Install Doxygen on Error
336-
if: steps.build_doxygen.outcome != 'success'
337-
run: |
338-
sudo apt install doxygen
339-
340-
- name: Upgrade Source Distribution
341-
continue-on-error: true
342-
run: |
343-
sudo apt update
344-
sudo apt upgrade -y
345-
sudo apt autoremove -y
346-
347-
- name: Install LaTeX
348-
continue-on-error: true
349-
run: |
350-
sudo apt-get install -y texlive-full
351-
352-
- name: Install Requirements
353-
continue-on-error: true
354-
run: |
355-
cd docs
356-
pip install -r requirements.txt
357-
358-
- name: Force install Sphinx Build
359-
run: |
360-
sudo apt-get install python3-sphinx
361-
362-
- name: Configure Files
363-
run: |
364-
touch .is_local
365-
366-
- name: Build HTML Documentation
367-
run: |
368-
cd docs
369-
make html
370-
371-
- name: Build PDf Documentation
372-
# continue-on-error: true
373-
run: |
374-
cd docs
375-
make latexpdf
376-
377-
- name: Store Artifacts
378-
uses: actions/upload-artifact@v3
379-
with:
380-
name: Documentation
381-
path: docs/build/**
312+
# - name: Install Clang
313+
# uses: KyleMayes/install-llvm-action@v1
314+
# with:
315+
# version: "15.0"
316+
# directory: "./llvm"
317+
# env: on
318+
319+
# - name: Build Doxygen
320+
# id: build_doxygen
321+
# continue-on-error: true
322+
# run: |
323+
# git clone --recursive https://github.com/doxygen/doxygen.git
324+
# cd doxygen
325+
# git checkout Release_1_9_7
326+
# mkdir build
327+
# cd build
328+
# cmake .. -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles"
329+
# cmake --build . --config Release
330+
# sudo make install
331+
# env:
332+
# CC: gcc
333+
# CXX: g++
334+
335+
# - name: Install Doxygen on Error
336+
# if: steps.build_doxygen.outcome != 'success'
337+
# run: |
338+
# sudo apt install doxygen
339+
340+
# - name: Upgrade Source Distribution
341+
# continue-on-error: true
342+
# run: |
343+
# sudo apt update
344+
# sudo apt upgrade -y
345+
# sudo apt autoremove -y
346+
347+
# - name: Install LaTeX
348+
# continue-on-error: true
349+
# run: |
350+
# sudo apt-get install -y texlive-full
351+
352+
# - name: Install Requirements
353+
# continue-on-error: true
354+
# run: |
355+
# cd docs
356+
# pip install -r requirements.txt
357+
358+
# - name: Force install Sphinx Build
359+
# run: |
360+
# sudo apt-get install python3-sphinx
361+
362+
# - name: Configure Files
363+
# run: |
364+
# touch .is_local
365+
366+
# - name: Build HTML Documentation
367+
# run: |
368+
# cd docs
369+
# make html
370+
371+
# - name: Build PDf Documentation
372+
# # continue-on-error: true
373+
# run: |
374+
# cd docs
375+
# make latexpdf
376+
377+
# - name: Store Artifacts
378+
# uses: actions/upload-artifact@v3
379+
# with:
380+
# name: Documentation
381+
# path: docs/build/**
382382

383383
run-benchmarks:
384384
name: Run Benchmarks on ${{ matrix.os }} with ${{ matrix.cxx }}
@@ -488,7 +488,7 @@ jobs:
488488
run: |
489489
cd BenchmarksCPP
490490
cd vendor/librapid
491-
git checkout ${{ github.sha }}
491+
git checkout ${{ github.head_ref || github.ref_name }} || git checkout ${{ github.ref }}
492492
git pull
493493
git submodule update --init --recursive
494494

0 commit comments

Comments
 (0)