From 8c1120ded17961be794f1d967c14c761a44bef77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Mantelet?= Date: Wed, 6 Dec 2023 11:56:57 +0100 Subject: [PATCH] Set up CI to build and test each project --- .github/workflows/adqllib.yml | 19 +++++++++++++++++++ .github/workflows/taplib.yml | 19 +++++++++++++++++++ .github/workflows/uwslib.yml | 19 +++++++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 .github/workflows/adqllib.yml create mode 100644 .github/workflows/taplib.yml create mode 100644 .github/workflows/uwslib.yml diff --git a/.github/workflows/adqllib.yml b/.github/workflows/adqllib.yml new file mode 100644 index 00000000..ba4aeb65 --- /dev/null +++ b/.github/workflows/adqllib.yml @@ -0,0 +1,19 @@ +name: Build and test ADQLLib project + +on: + push: + paths: + - 'ADQLLib/**' + - 'build.gradle' + - '.github/workflows/*' + +jobs: + build-adqllib-project: + runs-on: ubuntu-latest + steps: + - name: Checkout project sources + uses: actions/checkout@v3 + - name: Setup Gradle + uses: gradle/gradle-build-action@v2 + - name: Run build with Gradle Wrapper + run: ./gradlew :ADQLLib:build \ No newline at end of file diff --git a/.github/workflows/taplib.yml b/.github/workflows/taplib.yml new file mode 100644 index 00000000..6bbe1d37 --- /dev/null +++ b/.github/workflows/taplib.yml @@ -0,0 +1,19 @@ +name: Build and test TAPLib project + +on: + push: + paths: + - 'TAPLib/**' + - 'build.gradle' + - '.github/workflows/*' + +jobs: + build-taplib-project: + runs-on: ubuntu-latest + steps: + - name: Checkout project sources + uses: actions/checkout@v3 + - name: Setup Gradle + uses: gradle/gradle-build-action@v2 + - name: Run build with Gradle Wrapper + run: ./gradlew :TAPLib:build \ No newline at end of file diff --git a/.github/workflows/uwslib.yml b/.github/workflows/uwslib.yml new file mode 100644 index 00000000..d575b98f --- /dev/null +++ b/.github/workflows/uwslib.yml @@ -0,0 +1,19 @@ +name: Build and test UWSLib project + +on: + push: + paths: + - 'UWSLib/**' + - 'build.gradle' + - '.github/workflows/*' + +jobs: + build-uwslib-project: + runs-on: ubuntu-latest + steps: + - name: Checkout project sources + uses: actions/checkout@v3 + - name: Setup Gradle + uses: gradle/gradle-build-action@v2 + - name: Run build with Gradle Wrapper + run: ./gradlew :UWSLib:build \ No newline at end of file