30 lines
797 B
YAML
30 lines
797 B
YAML
|
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 <NAME>"
|
||
|
# run: mvn gatling:test
|