fixed paths #6
This file contains 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: Integration Tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
LOKI_INSTALL_DIR: ${{ github.workspace }}/loki-install | |
steps: | |
- name: Checkout Loki | |
uses: actions/checkout@v2 | |
- name: Download and extract boost, no building required | |
run: | | |
wget --no-check-certificate 'https://archives.boost.io/release/1.84.0/source/boost_1_84_0.tar.gz' | |
tar xf boost_1_84_0.tar.gz | |
- name: Configure CMake | |
run: cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="$GITHUB_WORKSPACE/boost_1_84_0" -DCMAKE_INSTALL_PREFIX="$GITHUB_WORKSPACE/loki-install" -S . -B build | |
- name: Build Loki | |
run: export CXXFLAGS="-Werror" && cmake --build build | |
- name: Install Loki | |
run: cmake --install build | |
- name: Build and Test Project | |
run: | | |
cd tests/integration | |
cmake -S . -B build -DCMAKE_PREFIX_PATH="$GITHUB_WORKSPACE/boost_1_84_0;$GITHUB_WORKSPACE/loki-install" | |
cmake --build build |