Skip to content

Commit

Permalink
Merge pull request #22 from snoonetIRC/github-migrate
Browse files Browse the repository at this point in the history
Migrate from Travis CI to GitHub Actions.
  • Loading branch information
Sadie Powell authored Dec 10, 2020
2 parents 7515d68 + 864e7f0 commit 2a2ef8c
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 12 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Test Build
on:
- pull_request
- push
jobs:
build:
runs-on: ubuntu-20.04
env:
CXX: ${{ matrix.compiler }}
CXXFLAGS: -std=${{ matrix.standard }}
steps:
- uses: actions/checkout@v2
- name: Build Modules
run: |
./test_build.sh
strategy:
fail-fast: false
matrix:
compiler:
- clang++
- g++
standard:
- c++98
- c++17
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion test_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

if [[ -z $ANOPE_VERSION ]]; then
ANOPE_VERSION="2.0.8"
ANOPE_VERSION="2.0.9"
fi

wget -O anope.tar.gz "https://github.com/anope/anope/archive/${ANOPE_VERSION}.tar.gz"
Expand Down

0 comments on commit 2a2ef8c

Please sign in to comment.