Skip to content

Commit 0a6acce

Browse files
authored
Merge pull request #260 from chenrui333/add-github-action
ci: replace travis with github action workflow
2 parents 3fed87f + 9e3b5ea commit 0a6acce

File tree

3 files changed

+31
-15
lines changed

3 files changed

+31
-15
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: ci
2+
3+
on: push
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
cc: [clang, gcc]
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: build with ${{ matrix.cc }}
15+
run: |
16+
make sslscan
17+
make static
18+
env:
19+
CC: ${{ matrix.cc }}
20+
build_mingw:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v2
24+
- name: install mingw-w64
25+
run: |
26+
sudo apt-get update -qq
27+
sudo apt-get install -qq mingw-w64
28+
- name: build with mingw-w64
29+
run: |
30+
make -f Makefile.mingw

.travis.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ If you are using the XML output, then you may need to make changes to your parse
2828

2929
# README
3030

31-
[![Build Status](https://travis-ci.org/rbsec/sslscan.svg?branch=master)](https://travis-ci.org/rbsec/sslscan)
31+
[![ci](https://github.com/rbsec/sslscan/actions/workflows/ci.yml/badge.svg)](https://github.com/rbsec/sslscan/actions/workflows/ci.yml)
3232

3333
This is a fork of ioerror's version of sslscan (the original readme of which is included below).
3434
Key changes are as follows:

0 commit comments

Comments
 (0)