Skip to content

Commit

Permalink
ci: add basic github action
Browse files Browse the repository at this point in the history
  • Loading branch information
d0p1s4m4 committed May 17, 2021
1 parent 82f83db commit 2f134a3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: CI

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-18.04
strategy:
matrix:
cc: [gcc, clang]
steps:
- uses: actions/checkout@v1
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install build-essential zlibc libgmp-dev openssl libssl-dev
sudo apt-get install libpth-dev scons
sudo apt-get install clang
- name: Build with ${{ matrix.cc }}
run: CC=${{ matrix.cc }} scons
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
.*
*~

!.github

config.h
*.log
build.conf

0 comments on commit 2f134a3

Please sign in to comment.