From caf6a4477b4dd1486c7628aa86cd5e7e5f2b1f2e Mon Sep 17 00:00:00 2001 From: xiao2958749 <94781594+xiao2958749@users.noreply.github.com> Date: Sat, 27 Nov 2021 03:12:44 +0800 Subject: [PATCH 1/8] Create greetings.yml --- .github/workflows/greetings.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/greetings.yml diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 0000000000..ee1cb11677 --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,16 @@ +name: Greetings + +on: [pull_request, issues] + +jobs: + greeting: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: 'Message that will be displayed on users first issue' + pr-message: 'Message that will be displayed on users first pull request' From d97d1f3a6d850e7e4fbcd3b7a9821e4977be0645 Mon Sep 17 00:00:00 2001 From: xiao2958749 <94781594+xiao2958749@users.noreply.github.com> Date: Sat, 27 Nov 2021 03:14:16 +0800 Subject: [PATCH 2/8] Create Greetings.yml --- .github/workflows/Greetings.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/Greetings.yml diff --git a/.github/workflows/Greetings.yml b/.github/workflows/Greetings.yml new file mode 100644 index 0000000000..ee1cb11677 --- /dev/null +++ b/.github/workflows/Greetings.yml @@ -0,0 +1,16 @@ +name: Greetings + +on: [pull_request, issues] + +jobs: + greeting: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: 'Message that will be displayed on users first issue' + pr-message: 'Message that will be displayed on users first pull request' From c1efd746949a1d81c8d8521c7ae118bea3e72ee1 Mon Sep 17 00:00:00 2001 From: xiao2958749 <94781594+xiao2958749@users.noreply.github.com> Date: Sun, 28 Nov 2021 10:49:19 +0800 Subject: [PATCH 3/8] Create makefile.yml --- .github/workflows/makefile.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/makefile.yml diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml new file mode 100644 index 0000000000..dc8815fa6b --- /dev/null +++ b/.github/workflows/makefile.yml @@ -0,0 +1,27 @@ +name: Makefile CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: configure + run: ./configure + + - name: Install dependencies + run: make + + - name: Run check + run: make check + + - name: Run distcheck + run: make distcheck From 3feeefccb01b764f967bb57e9e552fbdcc766358 Mon Sep 17 00:00:00 2001 From: xiao2958749 <94781594+xiao2958749@users.noreply.github.com> Date: Sat, 18 Dec 2021 03:09:13 +0800 Subject: [PATCH 4/8] Create docker-image.yml --- .github/workflows/docker-image.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/docker-image.yml diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 0000000000..e57d42a7c9 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,18 @@ +name: Docker Image CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Build the Docker image + run: docker build . --file Dockerfile --tag my-image-name:$(date +%s) From 8ed83317a669f7b30b1d4dae90be3effefc43f84 Mon Sep 17 00:00:00 2001 From: xiao2958749 <94781594+xiao2958749@users.noreply.github.com> Date: Sat, 18 Dec 2021 03:10:24 +0800 Subject: [PATCH 5/8] Create 1makefile.yml --- .github/workflows/1makefile.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/1makefile.yml diff --git a/.github/workflows/1makefile.yml b/.github/workflows/1makefile.yml new file mode 100644 index 0000000000..dc8815fa6b --- /dev/null +++ b/.github/workflows/1makefile.yml @@ -0,0 +1,27 @@ +name: Makefile CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: configure + run: ./configure + + - name: Install dependencies + run: make + + - name: Run check + run: make check + + - name: Run distcheck + run: make distcheck From 718e6bfd86c15836d185fd324741016be442d1bf Mon Sep 17 00:00:00 2001 From: xiao2958749 <94781594+xiao2958749@users.noreply.github.com> Date: Sat, 18 Dec 2021 03:12:44 +0800 Subject: [PATCH 6/8] Create main.yml --- .github/workflows/main.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000000..f937a06b24 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,36 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ master ] + pull_request: + branches: [ master ] + + # 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. From fd02debcf058f2b8eb26ed19a52da9df3deaa849 Mon Sep 17 00:00:00 2001 From: xiao2958749 <94781594+xiao2958749@users.noreply.github.com> Date: Sat, 18 Dec 2021 03:14:43 +0800 Subject: [PATCH 7/8] Create manual.yml --- .github/workflows/manual.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/manual.yml diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml new file mode 100644 index 0000000000..47f24e11ff --- /dev/null +++ b/.github/workflows/manual.yml @@ -0,0 +1,30 @@ +# This is a basic workflow that is manually triggered + +name: Manual workflow + +# Controls when the action will run. Workflow runs when manually triggered using the UI +# or API. +on: + workflow_dispatch: + # Inputs the workflow accepts. + inputs: + name: + # Friendly description to be shown in the UI instead of 'name' + description: 'Person to greet' + # Default value if no value is explicitly provided + default: 'World' + # Input has to be provided for the workflow to run + required: true + +# 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 "greet" + greet: + # 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: + # Runs a single command using the runners shell + - name: Send greeting + run: echo "Hello ${{ github.event.inputs.name }}" From 56f4a77ac251537ee7a55864b624ee8d1873cbd4 Mon Sep 17 00:00:00 2001 From: xiao2958749 <94781594+xiao2958749@users.noreply.github.com> Date: Sat, 18 Dec 2021 03:19:18 +0800 Subject: [PATCH 8/8] Create 2makefile.yml --- .github/workflows/2makefile.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/2makefile.yml diff --git a/.github/workflows/2makefile.yml b/.github/workflows/2makefile.yml new file mode 100644 index 0000000000..dc8815fa6b --- /dev/null +++ b/.github/workflows/2makefile.yml @@ -0,0 +1,27 @@ +name: Makefile CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: configure + run: ./configure + + - name: Install dependencies + run: make + + - name: Run check + run: make check + + - name: Run distcheck + run: make distcheck