diff --git a/.github/workflows/dunedaq-develop-cpp-ci.yml b/.github/workflows/dunedaq-develop-cpp-ci.yml index 8a52577..067fb7f 100644 --- a/.github/workflows/dunedaq-develop-cpp-ci.yml +++ b/.github/workflows/dunedaq-develop-cpp-ci.yml @@ -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: @@ -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 \ No newline at end of file + 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 }} \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index 4eb1fb3..6937c95 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/include/cmdlib/CommandFacility.hpp b/include/cmdlib/CommandFacility.hpp index 28fb443..e3be81c 100644 --- a/include/cmdlib/CommandFacility.hpp +++ b/include/cmdlib/CommandFacility.hpp @@ -8,6 +8,10 @@ #ifndef CMDLIB_INCLUDE_CMDLIB_COMMANDFACILITY_HPP_ #define CMDLIB_INCLUDE_CMDLIB_COMMANDFACILITY_HPP_ +#include + +#include + #include "cmdlib/cmd/Nljs.hpp" #include "CommandedObject.hpp" #include "Issues.hpp" @@ -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