From 40fc9c3e0ec6689eb16611381979345908e45be6 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Fri, 23 Feb 2024 23:10:49 +0000 Subject: [PATCH] add gitea workflow --- .gitea/workflows/maven.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .gitea/workflows/maven.yaml diff --git a/.gitea/workflows/maven.yaml b/.gitea/workflows/maven.yaml new file mode 100644 index 0000000..f6940bf --- /dev/null +++ b/.gitea/workflows/maven.yaml @@ -0,0 +1,30 @@ +name: CMake + +on: [push] + +env: + BUILD_TYPE: Release + +jobs: + build: + runs-on: node16-bullseye + + steps: + + - name: Prep For Local Builds + run: echo "${LOCIP} gitea.comnenos" >> /etc/hosts + - uses: actions/checkout@v2 + + - name: Install Build Tools + run: apt-get update && apt-get -y --no-install-recommends install build-essential openjdk-17-jdk maven maven-ant-helper && echo "********* INSTALLS COMPLETED *********" + + - name: Maven Build + shell: bash + working-directory: ${{runner.workspace}} + run: mvn build + + - name: Maven Test + working-directory: ${{runner.workspace}} + shell: bash + # Execute the build. You can specify a specific target with "--target " + run: mvn test