calculator-project/.gitea/workflows/maven.yaml
Greg Gauthier fc4eeef88d
All checks were successful
CMake / build (push) Successful in 1m24s
use my ubuntu-gitea image.
2024-07-21 19:10:37 +00:00

31 lines
786 B
YAML

name: CMake
on: [push]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-gitea
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 compiler:compile
- name: Maven Test
working-directory: ${{runner.workspace}}
shell: bash
# Execute the build. You can specify a specific target with "--target <NAME>"
run: mvn test