allkcore: minor revisions to comments #2047
This file contains hidden or 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
| name: LAGraph CI with Builtin GraphBLAS | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches-ignore: | |
| - '**/*dev2' | |
| pull_request: | |
| jobs: | |
| linux: | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| matrix: | |
| config: | |
| # if there are multiple items in this list, only use should | |
| # deployit=true for just one of them. | |
| - {grb_version: 9.0.0, deployit: false} | |
| - {grb_version: 10.1.0, deployit: true} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2.0.0 | |
| - name: Install tools for build | |
| run: | | |
| sudo apt install -y lcov | |
| - name: Build GraphBLAS | |
| run: | | |
| git clone https://github.com/DrTimothyAldenDavis/GraphBLAS.git | |
| cd GraphBLAS | |
| git checkout tags/v${{ matrix.config.grb_version }} | |
| make compact | |
| sudo make install | |
| cd .. | |
| - name: Build project | |
| run: | | |
| cd build | |
| cmake .. -DCOVERAGE=1 | |
| JOBS=2 make | |
| make test_coverage | |
| - name: Deploy | |
| uses: JamesIves/github-pages-deploy-action@4.1.1 | |
| if: matrix.config.deployit && github.event_name == 'push' && github.ref == 'refs/heads/stable' | |
| with: | |
| branch: gh-pages | |
| folder: build/test_coverage/ | |
| single-commit: true | |
| - name: Save output | |
| uses: actions/upload-artifact@v4.6.0 | |
| if: matrix.config.deployit | |
| with: | |
| name: test_coverage | |
| path: build/test_coverage/ | |
| macos: | |
| runs-on: macos-14 | |
| strategy: | |
| matrix: | |
| config: | |
| - {grb_version: 9.0.0} | |
| - {grb_version: 10.1.0} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2.0.0 | |
| - name: Install dependencies | |
| run: | | |
| brew uninstall cmake | |
| brew tap-new libomp/cask | |
| brew extract --version=14.0.6 libomp libomp/cask | |
| brew install libomp@14.0.6 | |
| - name: Build GraphBLAS | |
| run: | | |
| git clone https://github.com/DrTimothyAldenDavis/GraphBLAS.git | |
| cd GraphBLAS | |
| git checkout tags/v${{ matrix.config.grb_version }} | |
| make compact | |
| sudo make install | |
| cd .. | |
| - name: Build project | |
| run: | | |
| # adding an extra line to the CMakeLists.txt file to locate the libomp instance installed by brew | |
| echo 'include_directories("/usr/local/opt/libomp/include")' | cat - CMakeLists.txt | |
| cd build | |
| cmake .. | |
| JOBS=2 make | |
| ctest . | |