Skip to content

Add macros

Add macros #3

Workflow file for this run

name: Projects check
on:
push:
defaults:
run:
shell: bash
jobs:
projectsbuild:
strategy:
fail-fast: false
matrix:
include:
- name: kpsr-sdk
name: Check ${{ matrix.name }}
runs-on: [self-hosted, general, X64]
container:
image: "registry.klepsydra.io/amd64/basefocal:20.04.0"
options: --user kpsruser -v /home/kpsruser/.ccache:/github/home/.ccache
credentials:
username: ${{ secrets.KPSR_REGISTRY_USER }}
password: ${{ secrets.KPSR_REGISTRY_PASSWORD }}
steps:
- name: Clone sources
uses: actions/checkout@v3
with:
repository: klepsydra-technologies/${{ matrix.name }}
ref: main
fetch-depth: 0
submodules: recursive
token: ${{ secrets.GH_TOKEN }}
- name: Checkout kpsr-build submodule
run: |
git checkout ${GITHUB_SHA}
git log -1
working-directory: kpsr-build
- name: Run cmake
run: |
mkdir build && cd build
cmake ../