From d2a01036b44fb1f038d067c693572bc62c7c8919 Mon Sep 17 00:00:00 2001 From: Grzegorz Piwowarek Date: Fri, 16 Aug 2024 12:54:29 +0200 Subject: [PATCH] Replace Travis with GitHub Actions --- .github/workflows/build.yml | 33 +++++++++++++++++++++++++++++++++ .travis.yml | 24 ------------------------ README.md | 2 -- 3 files changed, 33 insertions(+), 26 deletions(-) create mode 100644 .github/workflows/build.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..ab32bbd --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,33 @@ +name: build +on: + push: + branches: + - master + paths-ignore: + - '**.md' + - '**.yml' + pull_request: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + java: [ '8' ] + architecture: [ 'x64' ] + name: Build with JDK ${{ matrix.java }} on ${{ matrix.architecture }} + steps: + - uses: actions/checkout@v4 + - name: Setup JDK + uses: actions/setup-java@v4 + with: + distribution: 'oracle' + java-version: ${{ matrix.java }} + architecture: ${{ matrix.architecture }} + cache: 'maven' + + - name: Build with Maven + run: mvn test-compile + diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index dd99b9c..0000000 --- a/.travis.yml +++ /dev/null @@ -1,24 +0,0 @@ -language: java - -sudo: false -dist: trusty - -install: echo "Disabled Travis CI 'install' stage by default" - -env: - global: - - # ossrhUsername - - secure: GwuNkNkV6QUnThmV+ZsiPuR+M50sVN+7qT+Ca9qRiXAhbUJpV0kcQz+NSV/gDE9UmsdzKfPzsSaKPjtIbKN9gFzFsOCd99TXGD1n3Kkya//Pw1ziDOtZFI9EMjO/8qPIEIR+Cfk7niqpyET/ypC7aklxv8raiCVrPDXJ8TJWsYM= - - # ossrhPassword - - secure: i+gbt9z+eCnGV1TadNWPrkOgxmeTYUvfkQYOvVQ01cqkTeNL5YKoWx3cpoidEvx4Bj00XkNqXXvMEBViEgnVlA4Xqm8n/05WcVr6uJ/HFq1hkBTiVl5LJEvXH4NBVoEZJTY4h9B7ulMHqvhM9U/vTBYbjK+L+9OC6B+U/IJe2Ho= - -matrix: - include: - - jdk: oraclejdk8 - -cache: - directories: - - '$HOME/.m2/repository' - -script: - - mvn test-compile diff --git a/README.md b/README.md index 4383c31..0a1946f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1 @@ -[![Gitter Chat](https://badges.gitter.im/Join%20Chat.png)](https://gitter.im/vavr-io/vavr-benchmark) - # [Vavr](http://vavr.io/) Benchmarks