From c7698504a9c8ea6dfdb3b6958af7fbe1adbc21eb Mon Sep 17 00:00:00 2001 From: Will Date: Sun, 7 Feb 2021 15:54:17 +0900 Subject: [PATCH] configure github actions --- .circleci/config.yml | 46 ------------------------------------- .github/workflows/build.yml | 17 ++++++++++++++ azure-piplines.yml | 6 ----- 3 files changed, 17 insertions(+), 52 deletions(-) delete mode 100644 .circleci/config.yml create mode 100644 .github/workflows/build.yml delete mode 100644 azure-piplines.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index d9e7a358..00000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,46 +0,0 @@ -version: 2 -jobs: - "alpine": - docker: - - image: alpine:latest - steps: - - run: apk update && apk add build-base git linux-headers perl - - checkout - - run: make - "centos-7": - docker: - - image: centos:7 - steps: - - run: yum groupinstall -y "Development Tools" - - checkout - - run: make - "debian stable": - docker: - - image: debian:stable - steps: - - run: apt update && apt install -y build-essential git - - checkout - - run: make - "ubuntu-16.04": - docker: - - image: ubuntu:16.04 - steps: - - run: apt update && apt install -y build-essential git - - checkout - - run: make - "ubuntu-18.04": - docker: - - image: ubuntu:18.04 - steps: - - run: apt update && apt install -y build-essential git - - checkout - - run: make -workflows: - version: 2 - build: - jobs: - - "alpine" - - "centos-7" - - "debian stable" - - "ubuntu-16.04" - - "ubuntu-18.04" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..57a8c085 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,17 @@ +name: build + +on: + push: + +jobs: + build: + runs-on: ${{ matrix.builder }} + strategy: + matrix: + builder: [macos-latest, ubuntu-latest] + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: build + run: make diff --git a/azure-piplines.yml b/azure-piplines.yml deleted file mode 100644 index 5ba9cf56..00000000 --- a/azure-piplines.yml +++ /dev/null @@ -1,6 +0,0 @@ -jobs: - - job: macos - pool: - vmImage: 'macos-10.14' - steps: - - script: make