From bfc1f6d17c854feeafea9fa94db21904359aa487 Mon Sep 17 00:00:00 2001 From: Stephen Worley Date: Fri, 11 Mar 2022 14:43:55 -0500 Subject: [PATCH 1/3] test action test action Signed-off-by: Stephen Worley --- .github/compile.yml | 17 ----------------- .github/workflows/compile.yml | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 17 deletions(-) delete mode 100644 .github/compile.yml create mode 100644 .github/workflows/compile.yml diff --git a/.github/compile.yml b/.github/compile.yml deleted file mode 100644 index 712988b5720b..000000000000 --- a/.github/compile.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: Compile -on: [push] -jobs: - Compile: - runs-on: ubuntu-20.04 - steps: - - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." - - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" - - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - - name: Check out repository code - uses: actions/checkout@v2 - - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." - - run: echo "🖥️ The workflow is now ready to test your code on the runner." - - name: List files in the repository - run: | - ls ${{ github.workspace }} - - run: echo "🍏 This job's status is ${{ job.status }}." diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml new file mode 100644 index 000000000000..afd27f953a42 --- /dev/null +++ b/.github/workflows/compile.yml @@ -0,0 +1,18 @@ +name: Compile +on: [push] +jobs: + Compile: + runs-on: ubuntu-20.04 + steps: + - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." + - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" + - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - name: Check out repository code + uses: actions/checkout@v2 + - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." + - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ github.workspace }} + - run: echo "🍏 This job's status is ${{ job.status }}." + - run: echo "this is a test" From 71942f73bceda816b0b8e18cf7f772766d9acab9 Mon Sep 17 00:00:00 2001 From: Stephen Worley Date: Fri, 11 Mar 2022 15:04:02 -0500 Subject: [PATCH 2/3] add dependencies and dev-tools script --- .github/workflows/compile.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index afd27f953a42..60e4e672b119 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -16,3 +16,11 @@ jobs: ls ${{ github.workspace }} - run: echo "🍏 This job's status is ${{ job.status }}." - run: echo "this is a test" + - name: Install Dependencies + run: sudo apt update && sudo apt-get install git autoconf automake libtool make libreadline-dev texinfo pkg-config libpam0g-dev libjson-c-dev bison flex libc-ares-dev python3-dev python3-sphinx install-info build-essential libsnmp-dev perl libcap-dev python2 libelf-dev libunwind-dev + - name: Clone Devtools + run: git clone https://github.com/qlyoung/frr-devtools.git + - name: chmod Install Script + run: chmod +x ./frr-devtools/scripts/install-frr.sh + - name: Build FRR + run: ./frr-devtools/scripts/install-frr.sh -bo -d ./ From 230278ea21de662a9ea1db228b760534b1ae0a85 Mon Sep 17 00:00:00 2001 From: Stephen Worley Date: Fri, 11 Mar 2022 15:59:08 -0500 Subject: [PATCH 3/3] change to my install script --- .github/workflows/compile.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 60e4e672b119..e3f3bde04b15 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -17,9 +17,9 @@ jobs: - run: echo "🍏 This job's status is ${{ job.status }}." - run: echo "this is a test" - name: Install Dependencies - run: sudo apt update && sudo apt-get install git autoconf automake libtool make libreadline-dev texinfo pkg-config libpam0g-dev libjson-c-dev bison flex libc-ares-dev python3-dev python3-sphinx install-info build-essential libsnmp-dev perl libcap-dev python2 libelf-dev libunwind-dev + run: sudo apt update && sudo apt-get install git clang autoconf automake libtool make libreadline-dev texinfo pkg-config libpam0g-dev libjson-c-dev bison flex libc-ares-dev python3-dev python3-sphinx install-info build-essential libsnmp-dev perl libcap-dev python2 libelf-dev libunwind-dev - name: Clone Devtools - run: git clone https://github.com/qlyoung/frr-devtools.git + run: git clone https://github.com/sworleys/frr-devtools.git - name: chmod Install Script run: chmod +x ./frr-devtools/scripts/install-frr.sh - name: Build FRR