disable atan2 checks (slow and more confusing) #153
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
# Controls when the workflow will run | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '8' | |
cache: 'maven' | |
- name: Build (Maven) | |
run: | | |
echo $HOME | |
echo $MAVEN_OPTS | |
java -version | |
echo "1. Install parent-pom and local libs" | |
cd parent-pom | |
mvn -Dassembly.skipAssembly -Djarsigner.skip=true clean install | |
cd .. | |
mvn process-resources | |
echo "2. Build" | |
mvn clean install -Djarsigner.skip=true -DskipTests=true -Dmaven.javadoc.skip=false -B -V | |
echo "3. Test" | |
mvn test -Djava.util.logging.config.file=./src/test/resources/logging.properties -Djarsigner.skip=true -B | |
echo "4. Make archive" | |
cd target | |
tar cvfz ../oitools-bin.tar.gz oitools-*.jar | |
# TODO: publish apidocs on github pages | |
echo "That's All, folks !" | |
- name: Upload | |
uses: actions/upload-artifact@v4 | |
with: | |
name: oitools-bin | |
path: oitools-bin.tar.gz | |
retention-days: 7 | |
overwrite: true | |