Skip to content

fix dspaces DATATYPE translation in get() #379

fix dspaces DATATYPE translation in get()

fix dspaces DATATYPE translation in get() #379

Workflow file for this run

name: CMake
on: [push, pull_request]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Debug
jobs:
build:
# The CMake configure and build commands are platform agnostic and should work equally
# well on Windows or Mac. You can convert this to a matrix build if you need
# cross-platform coverage.
# See: https://docs.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#configuring-a-build-matrix
runs-on: ubuntu-latest
container: philipdavis/dspaces-ci:v20082024
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- name: Create Build Environment
# Some projects don't allow in-source building, so create a separate build directory
# We'll use this as our working directory for all subsequent commands
run: mkdir -p ${{runner.workspace}}/build
- name: Extend python path
run: sed -i '1 a export PYTHONPATH=\/dspaces\/modules' /entrypoint.sh
- name: Configure CMake
# Note the current convention is to use the -S and -B options here to specify source
# and build directories, but this is only available with CMake 3.13 and higher.
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
run: /entrypoint.sh cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DENABLE_TESTS=true -DCMAKE_C_COMPILER=mpicc -DCMAKE_Fortran_COMPILER=mpifort
- name: Build
# Execute the build. You can specify a specific target with "--target <NAME>"
run: /entrypoint.sh cmake --build . --config $BUILD_TYPE
- name: Test
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: /entrypoint.sh ctest -V -C $BUILD_TYPE