From bc109ae90e4f2a2284e7702f4b1aa924fd397f2d Mon Sep 17 00:00:00 2001 From: Roman Chistokhodov Date: Sun, 13 Jun 2021 16:31:02 +0300 Subject: [PATCH] Remove travis-ci. Add github workflow --- .github/workflows/.github.yml | 25 +++++++++++++++++++++++++ .travis.yml | 10 ---------- README.md | 2 +- 3 files changed, 26 insertions(+), 11 deletions(-) create mode 100644 .github/workflows/.github.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/.github.yml b/.github/workflows/.github.yml new file mode 100644 index 0000000..822f8b7 --- /dev/null +++ b/.github/workflows/.github.yml @@ -0,0 +1,25 @@ +name: build + +on: [push, pull_request] + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + compiler: [gcc, clang] + include: + - cc: gcc + cxx: g++ + - cc: clang + cxx: clang++ + env: + CC: ${{ matrix.cc }} + CXX: ${{ matrix.cxx }} + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Build + run: | + make diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 4a7dee5..0000000 --- a/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -language: cpp -compiler: - - gcc - - clang -os: - - linux - - osx - -script: - - make diff --git a/README.md b/README.md index 892233f..ebf9533 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Vluzacn ZHLT -[![Build Status](https://travis-ci.org/FreeSlave/vhlt.svg?branch=master)](https://travis-ci.org/FreeSlave/vhlt) +[![Build Status](https://github.com/FreeSlave/vhlt/actions/workflows/.github.yml/badge.svg?branch=master)](https://github.com/FreeSlave/vhlt/actions/workflows/.github.yml) Custom Zoner's Half-Life Tools created by vluzacn. This is not my project, I just need repository here to add support for determining of the number of threads on posix systems.