2024-02-23 23:10:49 +00:00
|
|
|
name: CMake
|
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
env:
|
|
|
|
BUILD_TYPE: Release
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2024-07-20 23:47:54 +00:00
|
|
|
runs-on: ubuntu-latest
|
2024-02-23 23:10:49 +00:00
|
|
|
|
|
|
|
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}}
|
2024-02-23 23:12:57 +00:00
|
|
|
run: mvn compiler:compile
|
2024-02-23 23:10:49 +00:00
|
|
|
|
|
|
|
- name: Maven Test
|
|
|
|
working-directory: ${{runner.workspace}}
|
|
|
|
shell: bash
|
|
|
|
# Execute the build. You can specify a specific target with "--target <NAME>"
|
|
|
|
run: mvn test
|