Skip to content

Remove include guard for plain tuple target. #20

Remove include guard for plain tuple target.

Remove include guard for plain tuple target. #20

Workflow file for this run

name: Build and Unit Test
on:
push:
branches:
- 'main'
paths-ignore:
- '*.md'
- 'docs/**'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Requirements
run: sudo apt-get install -y clang-14 libc++-14-dev libc++abi-14-dev
- name: Checkout tuple
uses: actions/checkout@v2
with:
repository: cpp-core/tuple
path: tuple
- name: Build and run the tests
run: |
export CC=clang-14
export CXX=clang++-14
mkdir -p tuple/build && pushd tuple/build
cmake -DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/opt ..
make
make -j4 check
make install
popd