From d60d4a92204b21cce9c966f26c5bd1cb08b54976 Mon Sep 17 00:00:00 2001 From: Pete Batard Date: Wed, 21 Jul 2021 16:28:56 +0100 Subject: [PATCH] Add GCC and Clang GitHub workflow builds This enables CI on the GitHub repository. --- .github/workflows/ntfs-3g_linux.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ntfs-3g_linux.yml diff --git a/.github/workflows/ntfs-3g_linux.yml b/.github/workflows/ntfs-3g_linux.yml new file mode 100644 index 00000000..02f274b7 --- /dev/null +++ b/.github/workflows/ntfs-3g_linux.yml @@ -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