Add GCC and Clang GitHub workflow builds

This enables CI on the GitHub repository.
pull/6/head
Pete Batard 2021-07-21 16:28:56 +01:00
parent a4a837025b
commit d60d4a9220
No known key found for this signature in database
GPG Key ID: 38E0CF5E69EDD671
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
name: ntfs-3g - Linux (gcc, Clang) build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
CC: [gcc, clang]
steps:
- uses: actions/checkout@v2
- name: install libgcrypt
run: sudo apt install libgcrypt20-dev
- name: configure
env:
CC: ${{matrix.CC}}
run: |
./autogen.sh
./configure
- name: make
run: make