Skip to content

Commit

Permalink
#2: - added last working CI CMake command
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinwrobel1986 committed Jan 17, 2022
1 parent 2fbed17 commit 24e6452
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ jobs:
- { cxx: g++-10, image: ubuntu-20.04-kokkos_3.5.00-kokkoskernels_3.5.00-yamlcpp_0.7.0-openmp-clang }

env: # environment variables available to all steps
# CXX: ${{ matrix.config.cxx }}
APT_PACKAGES: python3 pip python-is-python3 g++ clang gpg wget libyaml-cpp-dev
PIP_PACKAGES: pytest numpy scipy matplotlib
SHAWDIR: /__w/SHAW/SHAW
WORKDIR: /out/build
Expand All @@ -47,9 +45,12 @@ jobs:
- name: Check environment
run: |
echo ======================================================
echo Creating directories $WORKDIR $SHAWBUILDDEB_DIR $SHAWBUILDREL_DIR
echo Creating directories:
echo ===> $WORKDIR
mkdir -p $WORKDIR
echo ===> $SHAWBUILDDEB_DIR
mkdir -p $SHAWBUILDDEB_DIR
echo ===> $SHAWBUILDREL_DIR
mkdir -p $SHAWBUILDREL_DIR
echo ======================================================
echo CPU Threads: $(grep -c processor /proc/cpuinfo)
Expand Down Expand Up @@ -85,6 +86,7 @@ jobs:
-DCMAKE_BUILD_TYPE:STRING=Debug \
-DKokkosKernels_DIR=/tpl/kokkoskernels/lib/cmake/KokkosKernels \
-Dyaml-cpp_DIR=/tpl/yamlcpp/share/cmake/yaml-cpp \
-DYAMLCPP_DIR=/tpl/yamlcpp \
-B $SHAWBUILDDEB_DIR -S $SHAWDIR
- name: Build/run C++ tests (debug)
Expand All @@ -102,6 +104,7 @@ jobs:
-DCMAKE_BUILD_TYPE:STRING=Release \
-DKokkosKernels_DIR=/tpl/kokkoskernels/lib/cmake/KokkosKernels \
-Dyaml-cpp_DIR=/tpl/yamlcpp/share/cmake/yaml-cpp \
-DYAMLCPP_DIR=/tpl/yamlcpp \
-B $SHAWBUILDREL_DIR -S $SHAWDIR
- name: Build/run C++ tests (release)
Expand Down

0 comments on commit 24e6452

Please sign in to comment.