Remove travis-ci. Add github workflow

This commit is contained in:
Roman Chistokhodov 2021-06-13 16:31:02 +03:00
parent 4e308530f4
commit bc109ae90e
3 changed files with 26 additions and 11 deletions

25
.github/workflows/.github.yml vendored Normal file
View file

@ -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

View file

@ -1,10 +0,0 @@
language: cpp
compiler:
- gcc
- clang
os:
- linux
- osx
script:
- make

View file

@ -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.