Skip to content

fix tests and move some files #210

fix tests and move some files

fix tests and move some files #210

Workflow file for this run

name: Test
on:
push:
branches:
- 'master'
permissions:
contents: write
env:
BUILD_TYPE: Debug
jobs:
test_linux_x86-64:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install Packages
run: sudo apt install -y libboost-dev libeigen3-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev
- name: Build Libfftw
run: ./script/libfftw.sh
- name: Build Libint
run: ./script/libint.sh
- name: Configure Acorn
run: cmake -B build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++
- name: Build Acorn
run: |
export CPLUS_INCLUDE_PATH="$PWD/libfftw/install/include:$PWD/libint/install/include:$CPLUS_INCLUDE_PATH"
export LIBRARY_PATH="$PWD/libfftw/install/lib:$PWD/libint/install/lib:$LIBRARY_PATH"
cmake --build build --parallel 2
- name: Run Tests
working-directory: build
run: ctest --verbose
- name: Upload Coverage Reports
uses: codecov/codecov-action@v4.0.1
with:
token: ${{secrets.CODECOV_TOKEN}}