From 57ac250d20aca8eeee7e0e29392cd2ece0773709 Mon Sep 17 00:00:00 2001 From: Andrei Neculau Date: Tue, 22 Jun 2021 23:42:35 +0200 Subject: [PATCH 1/2] switch to github actions, kill travis --- .github/workflows/ci.yml | 70 ++++++++++++++++++++++++++++++++++++++++ .travis.yml | 14 -------- 2 files changed, 70 insertions(+), 14 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..b91ff25b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,70 @@ +--- +name: CI +on: + push: + branches: + - github* + - master + tags: + - '*' + pull_request: + branches: + - '**' + schedule: + - cron: 0 0 * * * +jobs: + ci: + timeout-minutes: 30 + strategy: + fail-fast: false + matrix: + otp_vsn: + - 'latest' + - '24.0' + - '23.3' + - '23.2' + - '23.1' + - '23' + - '22.3' + - '22.2' + - '22.1' + - '22' + - '21.3' + - '21.2' + - '21.1' + - '21' + - '20.3' + - '20.2' + - '20.1' + - '20' + - '19.3' + - '19.2' + - '19.1' + - '19' + name: 'ci-erl:${{ matrix.otp_vsn }}' + runs-on: ubuntu-latest + container: + image: 'erlang:${{ matrix.otp_vsn }}' + steps: + - shell: bash + run: | + apt-get update + apt-get -y install tcl tcl-dev gettext + cd /usr/src/ + wget https://github.com/git/git/archive/v2.18.0.tar.gz -O git.tar.gz + tar -xf git.tar.gz + cd git-* + make prefix=/usr/local all + make prefix=/usr/local install + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - shell: bash + run: autoconf + - shell: bash + run: ./configure + - shell: bash + run: make + - shell: bash + run: make test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f6005a0e..00000000 --- a/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -sudo: false -language: - - erlang -otp_release: - - 18.1 - - 17.5 - - R16B03-1 - - R15B03 - - R14B02 -script: - - autoconf - - ./configure - - make - - make test From 6f2c3ba91211b30fe2db1f1cee696c573f0e975a Mon Sep 17 00:00:00 2001 From: Andrei Neculau Date: Thu, 24 Jun 2021 15:13:32 +0200 Subject: [PATCH 2/2] ci: disable erlang matrix until tests are green --- .github/workflows/ci.yml | 42 ++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b91ff25b..63e3d931 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,27 +20,27 @@ jobs: matrix: otp_vsn: - 'latest' - - '24.0' - - '23.3' - - '23.2' - - '23.1' - - '23' - - '22.3' - - '22.2' - - '22.1' - - '22' - - '21.3' - - '21.2' - - '21.1' - - '21' - - '20.3' - - '20.2' - - '20.1' - - '20' - - '19.3' - - '19.2' - - '19.1' - - '19' + # - '24.0' + # - '23.3' + # - '23.2' + # - '23.1' + # - '23' + # - '22.3' + # - '22.2' + # - '22.1' + # - '22' + # - '21.3' + # - '21.2' + # - '21.1' + # - '21' + # - '20.3' + # - '20.2' + # - '20.1' + # - '20' + # - '19.3' + # - '19.2' + # - '19.1' + # - '19' name: 'ci-erl:${{ matrix.otp_vsn }}' runs-on: ubuntu-latest container: