From 4b6b0273ba6c94562afba559ac629eb9a3595f0b Mon Sep 17 00:00:00 2001 From: komaljaved-rs <86342771+komaljaved-rs@users.noreply.github.com> Date: Thu, 1 Jul 2021 14:44:48 +0500 Subject: [PATCH 1/3] Create openfpga.yml --- .github/workflows/openfpga.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/openfpga.yml diff --git a/.github/workflows/openfpga.yml b/.github/workflows/openfpga.yml new file mode 100644 index 000000000..072f2824b --- /dev/null +++ b/.github/workflows/openfpga.yml @@ -0,0 +1,31 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world! + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. + ./ci_test.sh From cbb4b32f7fdaee57820e172e46eee5c33d7e4fc0 Mon Sep 17 00:00:00 2001 From: komaljaved-rs <86342771+komaljaved-rs@users.noreply.github.com> Date: Thu, 1 Jul 2021 14:45:38 +0500 Subject: [PATCH 2/3] Rename openfpga.yml to ci_test.yml --- .github/workflows/{openfpga.yml => ci_test.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{openfpga.yml => ci_test.yml} (100%) diff --git a/.github/workflows/openfpga.yml b/.github/workflows/ci_test.yml similarity index 100% rename from .github/workflows/openfpga.yml rename to .github/workflows/ci_test.yml From 1e81dd897f3c734bdc3f18ad1e85e611d057802d Mon Sep 17 00:00:00 2001 From: komaljaved-rs <86342771+komaljaved-rs@users.noreply.github.com> Date: Thu, 1 Jul 2021 14:47:59 +0500 Subject: [PATCH 3/3] Update ci_test.yml --- .github/workflows/ci_test.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci_test.yml b/.github/workflows/ci_test.yml index 072f2824b..5319389ed 100644 --- a/.github/workflows/ci_test.yml +++ b/.github/workflows/ci_test.yml @@ -12,20 +12,14 @@ jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: self-hosted # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - # Runs a single command using the runners shell - - name: Run a one-line script - run: echo Hello, world! - # Runs a set of commands using the runners shell - - name: Run a multi-line script - run: | - echo Add other actions to build, - echo test, and deploy your project. - ./ci_test.sh + - name: Executing Script + run: + ./ci_test.sh