Skip to content

Commit

Permalink
Replace Travis with Google Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrojnar committed Aug 5, 2022
1 parent e89aa14 commit 41feede
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 154 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: CI

on:
push:
pull_request:

jobs:
unix-build:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
- os: macOS-latest
openssl: [email protected]
#- os: macOS-latest
# openssl: openssl@3

runs-on: ${{matrix.os}}

env:
PKG_CONFIG_PATH: /usr/local/opt/${{matrix.openssl}}/lib/pkgconfig

steps:
- uses: actions/checkout@v3

- name: Install apt dependencies (Linux)
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install -y libssl-dev opensc softhsm

- name: Install brew dependencies (macOS)
if: matrix.os == 'macOS-latest'
run: brew install automake pkg-config ${{matrix.openssl}} opensc softhsm

- name: Bootstrap
run: autoreconf --verbose --install --force

- name: Configure
run: ./configure

- name: Build
run: make

- name: Test
run: make check
103 changes: 0 additions & 103 deletions .travis.sh

This file was deleted.

50 changes: 0 additions & 50 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build state

[![Linux Build Status](https://travis-ci.org/OpenSC/libp11.png)](https://travis-ci.org/OpenSC/libp11)
[![Tests](https://github.com/OpenSC/libp11/actions/workflows/ci.yml/badge.svg)](https://github.com/OpenSC/libp11/actions/workflows/ci.yml)
[![Windows Build status](https://ci.appveyor.com/api/projects/status/kmbu8nex5ogecoiq?svg=true)](https://ci.appveyor.com/project/LudovicRousseau/libp11)
[![Coverity Scan Status](https://scan.coverity.com/projects/15472/badge.svg)](https://scan.coverity.com/projects/opensc-libp11)
[![Code Quality: Cpp](https://img.shields.io/lgtm/grade/cpp/g/OpenSC/libp11.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/OpenSC/libp11/context:cpp)
Expand Down

0 comments on commit 41feede

Please sign in to comment.