File tree Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 1111 uses : ./.github/workflows/unit_tests.yml
1212 shellcheck_tests :
1313 uses : ./.github/workflows/shellcheck.yml
14+ install_from_source :
15+ uses : ./.github/workflows/install_from_source.yml
1416 asan_unit_tests :
1517 needs : unit_tests
1618 uses : ./.github/workflows/asan_unit_tests.yml
Original file line number Diff line number Diff line change 1+ name : Install from source using ci/install.sh
2+
3+ on :
4+ workflow_call
5+
6+ jobs :
7+ install_from_source :
8+ name : Install using ci/install.sh
9+ runs-on : ubuntu-24.04
10+ steps :
11+ - uses : actions/checkout@v3
12+ with :
13+ submodules : recursive
14+ - name : Install using ci/install.sh
15+ run : ci/install.sh && /var/cfengine/bin/cf-agent -V
Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ if [ -f /etc/os-release ]; then
4141 echo " Unsupported version of redhat for $0 "
4242 exit 1
4343 fi
44+ elif [ " $ID " = " ubuntu" ]; then
45+ sudo apt update -y
46+ sudo apt install -y libssl-dev libpam0g-dev liblmdb-dev byacc curl librsync-dev
4447 else
4548 echo " Unsupported distribution based on /etc/os-release."
4649 fi
You can’t perform that action at this time.
0 commit comments