File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 - name : Set libpromhttp.so path
4040 shell : bash
4141 run : echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/Metrics_Monitoring_System/prometheus-client-c/buildpromhttp/libpromhttp.so:/usr/local/lib:\$LD_LIBRARY_PATH" >> $GITHUB_ENV
42+
43+ - name : Set environment variables
44+ shell : bash
45+ run : ./set_env.sh
Original file line number Diff line number Diff line change @@ -4,15 +4,6 @@ cmake_minimum_required(VERSION 3.25 FATAL_ERROR)
44# Create project
55project (ShellProject VERSION 1.0.0 DESCRIPTION "A nice shell project" LANGUAGES C )
66
7- # Establecer la variable de entorno CONFIG_FILE_PATH
8- set (ENV{CONFIG_FILE_PATH} "${CMAKE_SOURCE_DIR} /config.json" )
9-
10- # Establecer la variable de entorno MONITOR_PATH
11- set (ENV{CONFIG_FILE_PATH} "${CMAKE_SOURCE_DIR} /Metrics_Monitoring_System/build/metrics" )
12-
13- # Establecer la variable de entorno MONITOR_EXECUTABLE
14- set (ENV{MONITOR_EXECUTABLE} "./metrics" )
15-
167# Flags for compiling
178set (CMAKE_C_STANDARD 17)
189set (CMAKE_C_FLAGS_DEBUG "-g -O0 -Wall -Wpedantic -Werror -Wextra -Wunused-parameter -Wmissing-prototypes -Wstrict-prototypes" )
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ export CONFIG_FILE_PATH=" $( pwd) /config.json"
3+ export MONITOR_PATH=" $( pwd) /Metrics_Monitoring_System/build/metrics"
4+ export MONITOR_EXECUTABLE=" ./metrics"
You can’t perform that action at this time.
0 commit comments