-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit adds a Github actions workflow to continuously test that
building is successful on Ubuntu 20.04 and Ubuntu 18.04 on every push. Changes made to CMakeList.txt now support Intel MKL's header file location installation from apt (on Ubuntu 20.04 and, presumably, later versions), as well as manual installs using today's current Intel MKL download and installation through their installer. However, today's Intel MKL library may not be what you want, and it may be that the path will change if we use an older version of the library, but I didn't want to dig that up while I was working on this.
- Loading branch information
1 parent
d6dc5db
commit e3a29ac
Showing
3 changed files
with
40 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: DiskANN Build | ||
on: | ||
push: | ||
jobs: | ||
build-ubuntu-latest: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- run: | | ||
sudo apt install cmake g++ libaio-dev libgoogle-perftools-dev clang-format-12 libboost-dev libmkl-full-dev | ||
mkdir build && cd build && cmake .. && make -j | ||
build-ubuntu-18: | ||
runs-on: 'ubuntu-18.04' | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- run: | | ||
sudo apt install cmake g++ libaio-dev libgoogle-perftools-dev clang-format-4.0 libboost-dev | ||
wget https://registrationcenter-download.intel.com/akdlm/irc_nas/18487/l_BaseKit_p_2022.1.2.146.sh | ||
sudo sh l_BaseKit_p_2022.1.2.146.sh -a --components intel.oneapi.lin.mkl.devel --action install --install-dir /opt/intel/compilers_and_libraries --eula accept -s | ||
ls -R /opt/intel | ||
mkdir build && cd build && cmake .. && make -j | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters