Skip to content

Commit

Permalink
Replace Travis CI with GitHub Actions configuration
Browse files Browse the repository at this point in the history
Replace the Travis CI configuration with an equivalent GitHub Actions
workflow.

Signed-off-by: Lukas Fleischer <[email protected]>
  • Loading branch information
Lukas Fleischer committed Apr 3, 2021
1 parent b36e603 commit 86f313b
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 23 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/make.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Build and test

on:
push:
branches: [master, pu]
pull_request:
branches: [master, pu]

jobs:
build:
strategy:
matrix:
os: ['ubuntu-latest', 'macos-latest']
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- name: Install dependencies (Ubuntu)
run: sudo apt-get install asciidoc autopoint gettext xmlto
if: matrix.os == 'ubuntu-latest'
- name: Install dependencies (MacOS)
run: |
brew update
brew install automake
brew install asciidoc
brew install gettext
brew install xmlto
brew link --force gettext
sudo mkdir /etc/xml
sudo ln -s /usr/local/etc/xml/catalog /etc/xml/catalog
if: matrix.os == 'macos-latest'
- name: autogen.sh
run: ./autogen.sh
- name: configure
run: ./configure
- name: make
run: make
- name: make check
run: make check
- name: make distcheck
run: make distcheck
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

0 comments on commit 86f313b

Please sign in to comment.