Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .github/workflows/dunedaq-develop-cpp-ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: build-develop
name: Single-Package CI Build and Linting

# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
push:
branches:
Expand All @@ -21,8 +19,15 @@ on:
- cron: "0 9 * * *"

workflow_dispatch:
inputs:
caller_event_name:
type: string
default: 'schedule'
description: "Enter 'pull_request' (without quotes) to compare linting results to previous linting results."

jobs:
build_develop_dispatch:
name: Build against the development release
uses: DUNE-DAQ/.github/.github/workflows/dunedaq-develop-cpp-ci.yml@develop
uses: DUNE-DAQ/.github/.github/workflows/dunedaq-develop-cpp-ci.yml@develop
with:
caller_event_name: ${{ github.event.inputs.caller_event_name || github.event_name }}
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This line you're reading is a commit for its own sake

cmake_minimum_required(VERSION 3.12)
project(cmdlib VERSION 1.3.0)

Expand Down
13 changes: 12 additions & 1 deletion include/cmdlib/CommandFacility.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
#ifndef CMDLIB_INCLUDE_CMDLIB_COMMANDFACILITY_HPP_
#define CMDLIB_INCLUDE_CMDLIB_COMMANDFACILITY_HPP_

#include <limits>

#include <iostream>

#include "cmdlib/cmd/Nljs.hpp"
#include "CommandedObject.hpp"
#include "Issues.hpp"
Expand Down Expand Up @@ -49,7 +53,14 @@ namespace dunedaq::cmdlib {
class CommandFacility
{
public:
explicit CommandFacility(std::string /*uri*/) {}
explicit CommandFacility(std::string /*uri*/) {
/* These next two lines are designed to upset our linter */
uint8_t* blob_of_raw_memory = new uint8_t[1000];
std::cout << "The blob of raw memory starts at " << (void*)blob_of_raw_memory;

uint8_t* a_new_blob_of_raw_memory = new uint8_t[1000];
std::cout << "The new blob of raw memory starts at " << (void*)blob_of_raw_memory;
}
virtual ~CommandFacility();
CommandFacility(const CommandFacility&) =
delete; ///< CommandFacility is not copy-constructible
Expand Down
Loading