playwrightjava1/.gitea/workflows/build.yml
Greg Gauthier af9627d07b
Some checks failed
msbuild / build (push) Failing after 1m11s
separate build and test
2024-07-23 10:46:43 +00:00

35 lines
647 B
YAML

name: msbuild
on: [push]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-gitea
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '17'
- name: Install Maven
run: apt update && apt search maven && apt install -y maven
- name: Validate installation
run: |
java -version
mvn --version
echo $JAVA_HOME
mvn -B verify --file pom.xml
- name: Build
run: |
mvn compiler:compile
mvn compiler:testCompile
- name: Test
run: mvn surefire:test