Skip to content

Restore clang-cl, enable WASM and ICPX targets #8

Restore clang-cl, enable WASM and ICPX targets

Restore clang-cl, enable WASM and ICPX targets #8

Workflow file for this run

##======================================================================================================================
## RABERU - Fancy Parameters Library
## Copyright : RABERU Contributors & Maintainers
## SPDX-License-Identifier: BSL-1.0
##======================================================================================================================
name: RABERU Integration Tests
on:
pull_request:
branches:
- main
concurrency:
group: raberu-integration-${{ github.ref }}
cancel-in-progress: true
jobs:
install:
runs-on: [ubuntu-latest]
container:
image: ghcr.io/jfalcou/compilers:v6
strategy:
fail-fast: false
steps:
- name: Fetch current branch
uses: actions/checkout@v3
- name: Install RABERU from checkout
run: |
mkdir build && cd build
cmake -G Ninja .. -DRABERU_BUILD_TEST=OFF -DCMAKE_CXX_COMPILER=clang++
ninja install
- name: Run Sample CMake
run: |
mkdir install && cd install
cmake ../test/integration/install-test -G Ninja
ninja && ctest --verbose
fetch-content:
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
runs-on: [ubuntu-latest]
container:
image: ghcr.io/jfalcou/compilers:v6
strategy:
fail-fast: false
steps:
- name: Fetch current branch
uses: actions/checkout@v3
- name: Compile using FetchContent
run: |
git config --global --add safe.directory /__w/raberu/raberu
mkdir install && cd install
cmake ../test/integration/fetch-test -G Ninja -DGIT_BRANCH=${BRANCH_NAME} -DRABERU_BUILD_TEST=OFF -DCMAKE_CXX_COMPILER=clang++
ninja && ctest --verbose
cpm:
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
runs-on: [ubuntu-latest]
container:
image: ghcr.io/jfalcou/compilers:v6
strategy:
fail-fast: false
steps:
- name: Fetch current branch
uses: actions/checkout@v3
- name: Compile using CPM
run: |
git config --global --add safe.directory /__w/raberu/raberu
mkdir install && cd install
cmake ../test/integration/cpm-test -G Ninja -DGIT_BRANCH=${BRANCH_NAME} -DCMAKE_CXX_COMPILER=clang++ -DRABERU_BUILD_TEST=OFF
ninja && ctest --verbose