Skip to content

Commit

Permalink
attempting to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmrichard committed Dec 28, 2023
1 parent 94801bb commit cfb9a1e
Showing 1 changed file with 45 additions and 8 deletions.
53 changes: 45 additions & 8 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,48 @@ on:
- master

jobs:
Common-Pull-Request:
uses: NWChemEx/.github/.github/workflows/common_pull_request.yaml@master
with:
config_file: '.github/.licenserc.yaml'
source_dir: 'include src tests'
compilers: '["gcc-11", "clang-11"]'
doc_target: 'pluginplay_cxx_api'
secrets: inherit
# Common-Pull-Request:
# uses: NWChemEx/.github/.github/workflows/common_pull_request.yaml@master
# with:
# config_file: '.github/.licenserc.yaml'
# source_dir: 'include src tests'
# compilers: '["gcc-11", "clang-11"]'
# doc_target: 'pluginplay_cxx_api'
# secrets: inherit
test_library:
runs-on: ubuntu-latest
container:
image: ghcr.io/nwchemex/nwx_buildenv:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.CONTAINER_REPO_TOKEN }}
strategy:
matrix:
compiler: ${{ fromJSON(inputs.compilers) }}
steps:
- uses: actions/checkout@v4
- name: Append Repo Settings to CMake Toolchain
if: inputs.repo_toolchain != ''
run: |
toolchain=/toolchains/nwx_${{ matrix.compiler }}.cmake
echo 'include('${PWD}'/${{ inputs.repo_toolchain }})' >> $toolchain
shell: bash
- name: Locate boost
run: |
locate boost_container
- name: Build and Test
env:
CMAIZE_GITHUB_TOKEN: ${{secrets.CMAIZE_GITHUB_TOKEN}}
run: |
toolchain=/toolchains/nwx_${{ matrix.compiler }}.cmake
echo 'set(CMAIZE_GITHUB_TOKEN '${CMAIZE_GITHUB_TOKEN}')' >> $toolchain
cmake -Bbuild -H. -GNinja \
-DCMAKE_INSTALL_PREFIX=./install \
-DCMAKE_TOOLCHAIN_FILE="${toolchain}"
cmake --build build --parallel
cd build
OMPI_ALLOW_RUN_AS_ROOT=1 OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 ctest -VV
shell: bash

0 comments on commit cfb9a1e

Please sign in to comment.