Skip to content

Bump ossf/scorecard-action from 2.3.0 to 2.3.1 #840

Bump ossf/scorecard-action from 2.3.0 to 2.3.1

Bump ossf/scorecard-action from 2.3.0 to 2.3.1 #840

Workflow file for this run

name: Ubuntu-CI
'on':
- push
- pull_request
permissions:
contents: read
jobs:
ci:
name: ubuntu-gcc
runs-on: ubuntu-latest
env:
CC: gcc
CXX: g++
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Build and Test
run: |
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=destination ..
cmake --build .
ctest . --output-on-failure
cmake --install .
cd ../tests/installation/find && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX:PATH=../../../build/destination .. && cmake --build .
- name: Build and Test Debug
run: |
mkdir builddebug
cd builddebug
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX:PATH=destination ..
cmake --build .
ctest . --output-on-failure
cmake --install .
cd ../tests/installation/find && mkdir builddebug && cd builddebug && cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX:PATH=../../../build/destination .. && cmake --build .