2024-07-23 09:48:39 +00:00
|
|
|
name: msbuild
|
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
env:
|
|
|
|
BUILD_TYPE: Release
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-gitea
|
|
|
|
steps:
|
2024-07-23 10:27:52 +00:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-java@v4
|
2024-07-23 10:29:00 +00:00
|
|
|
with:
|
2024-07-23 10:29:51 +00:00
|
|
|
distribution: 'open' # See 'Supported distributions' for available options
|
|
|
|
java-version: '17'
|
2024-07-23 10:20:33 +00:00
|
|
|
|
2024-07-23 10:27:52 +00:00
|
|
|
- name: Install Maven
|
|
|
|
run: apt install -y maven
|
2024-07-23 10:02:41 +00:00
|
|
|
|
2024-07-23 10:27:52 +00:00
|
|
|
- name: Build And Test
|
|
|
|
run: |
|
|
|
|
mvn compiler:compile
|
|
|
|
mvn compiler:testCompile
|
|
|
|
mvn surefire:test
|