From afc58f42037495825519f642124b3a049f986d8f Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Sat, 26 Oct 2024 14:13:40 +0100 Subject: [PATCH] add gitea workflow --- .gitea/workflows/validate.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .gitea/workflows/validate.yml diff --git a/.gitea/workflows/validate.yml b/.gitea/workflows/validate.yml new file mode 100644 index 0000000..7a524cc --- /dev/null +++ b/.gitea/workflows/validate.yml @@ -0,0 +1,30 @@ +name: Validate + +on: [push] + +env: + BUILD_TYPE: Release + +jobs: + build: + runs-on: ubuntu-gitea + + steps: + + - name: Prep For Local Builds + run: echo "Checkout Step" + - 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 clean install + +# - name: Maven Test +# working-directory: ${{runner.workspace}} +# shell: bash + # Execute the build. You can specify a specific target with "--target " +# run: mvn gatling:test \ No newline at end of file