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 01/13] 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 02/13] 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 03/13] 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 04/13] 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 05/13] 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 06/13] 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 07/13] 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 08/13] 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 From 2b305d78c89af45033ee0f4f8b1882ac95e553d7 Mon Sep 17 00:00:00 2001 From: xiao2958749 <94781594+xiao2958749@users.noreply.github.com> Date: Sat, 18 Dec 2021 03:22:25 +0800 Subject: [PATCH 09/13] Create 2main.yml --- .github/workflows/2main.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/2main.yml diff --git a/.github/workflows/2main.yml b/.github/workflows/2main.yml new file mode 100644 index 0000000000..f937a06b24 --- /dev/null +++ b/.github/workflows/2main.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 96cce52ca5dbf9380b3a0ff37cf613886ea473f9 Mon Sep 17 00:00:00 2001 From: xiao2958749 <94781594+xiao2958749@users.noreply.github.com> Date: Sun, 19 Dec 2021 02:51:48 +0800 Subject: [PATCH 10/13] Create node.js.yml --- .github/workflows/node.js.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/node.js.yml diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 0000000000..ae39812401 --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,31 @@ +# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions + +name: Node.js CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [12.x, 14.x, 16.x] + # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: npm ci + - run: npm run build --if-present + - run: npm test From 793cf6ba6d7df3474ff174415ec094d2657c5481 Mon Sep 17 00:00:00 2001 From: xiao2958749 <94781594+xiao2958749@users.noreply.github.com> Date: Sun, 19 Dec 2021 03:06:37 +0800 Subject: [PATCH 11/13] 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 7f064bf617e440d54371c7d0f2010223aea67ab8 Mon Sep 17 00:00:00 2001 From: xiao2958749 <94781594+xiao2958749@users.noreply.github.com> Date: Sun, 19 Dec 2021 03:13:30 +0800 Subject: [PATCH 12/13] Create c-cpp.yml --- .github/workflows/c-cpp.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/c-cpp.yml diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml new file mode 100644 index 0000000000..e3233268f7 --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -0,0 +1,23 @@ +name: C/C++ 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: make + run: make + - name: make check + run: make check + - name: make distcheck + run: make distcheck From 2785d6998d8624b092623455db72e03030adb8e5 Mon Sep 17 00:00:00 2001 From: xiao2958749 <94781594+xiao2958749@users.noreply.github.com> Date: Sun, 19 Dec 2021 03:15:03 +0800 Subject: [PATCH 13/13] Create docker-image.ymlz --- .github/workflows/docker-image.ymlz | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/docker-image.ymlz diff --git a/.github/workflows/docker-image.ymlz b/.github/workflows/docker-image.ymlz new file mode 100644 index 0000000000..e57d42a7c9 --- /dev/null +++ b/.github/workflows/docker-image.ymlz @@ -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)