diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..f3ab6c8 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +name: CI +on: [create, pull_request, push] +jobs: + CI: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 # Needed to make sure to proper git describe + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get -y install python3 python-docutils ruby-dev + sudo gem install fpm + - name: Build + run: make PYTHON=python3 all deb + - name: Archive package artifacts + uses: actions/upload-artifact@v2 + with: + name: deb + path: deb/git-hub_*.deb + if-no-files-found: error diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index c1e9950..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "beaver"] - path = beaver - url = https://github.com/sociomantic-tsunami/beaver.git diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 4562e4d..0000000 --- a/.travis.yml +++ /dev/null @@ -1,34 +0,0 @@ -# We will use docker to set up out environment, so don't use any particular -# language in Travis itself -language: generic - -# Enable docker -sudo: required -services: - - docker - -# Disable automatic submodule fetching (it's done recursively) -git: - submodules: false - -# Do a shallow submodule fetch -before_install: git submodule update --init - -env: - global: - # Make sure beaver is in the PATH - - PATH="$(git config -f .gitmodules submodule.beaver.path)/bin:$PATH" - matrix: - - DIST=xenial - - DIST=bionic - -install: beaver install - -script: beaver make PYTHON=python3 all deb - -deploy: - provider: script - script: beaver bintray upload -d sociomantic-tsunami/tools/git-hub deb/*.deb - skip_cleanup: true - on: - tags: true diff --git a/beaver b/beaver deleted file mode 160000 index c2c7a05..0000000 --- a/beaver +++ /dev/null @@ -1 +0,0 @@ -Subproject commit c2c7a05bb36d56977638f53dce52aae1166eede8 diff --git a/beaver.Dockerfile b/beaver.Dockerfile deleted file mode 100644 index 0496488..0000000 --- a/beaver.Dockerfile +++ /dev/null @@ -1 +0,0 @@ -FROM sociomantictsunami/develbase:v7 diff --git a/docker/build b/docker/build deleted file mode 100755 index 487cbb4..0000000 --- a/docker/build +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -set -xeu - -apt-get update -apt-get -y install python3 python-docutils