Skip to content

cmake put compiler optimization flags in CMake release flags #182

cmake put compiler optimization flags in CMake release flags

cmake put compiler optimization flags in CMake release flags #182

name: ecp-sdk-integration
on:
pull_request:
branches:
- master
- develop
jobs:
ubuntu-ecp-catalyst:
runs-on: ubuntu-latest
env:
CMAKE_CONFIGURATION: ubuntu_ecp_catalyst
LAUNCHER: /sensei/bin/launch-env.sh
container:
image: ghcr.io/sensei-insitu/ci-ecp@sha256:f55ec48bb2e01738b52c71e8fb08d2cadbbf0a34f12db30f6809dae75b810e42
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Initialize ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
key: ubuntu-gcc-ccache
- name: Configure
run: ${{ env.LAUNCHER }} ctest -VV -S .github/ci/ctest_configure.cmake
- name: Build
run: ${{ env.LAUNCHER }} ctest -VV -S .github/ci/ctest_build.cmake
- name: Test
run: |
set -x
. /__w/SENSEI/build/bin/sensei-env.sh
${{ env.LAUNCHER }} ctest -VV -S .github/ci/ctest_test.cmake
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ env.CMAKE_CONFIGURATION }}_${{ env.GITHUB_JOB_ID }}
path: /__w/SENSEI/build
retention-days: 1