Update README.md #52
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-workflow | |
on: [push, pull_request] | |
jobs: | |
ubuntu-build-fr: | |
timeout-minutes: 90 | |
runs-on: ubuntu-latest | |
name: Ubuntu - JDK 1.8 FR | |
steps: | |
- name: Disk Before Code and Cache | |
run: | | |
sudo swapoff -a | |
sudo rm -f /swapfile | |
sudo apt clean | |
docker rmi $(docker image ls -aq) | |
df -h | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Check NPM Cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.npm | |
key: npm-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
npm- | |
- name: Check Maven Com Cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.m2/repository/com | |
key: mvn-com-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
mvn-com- | |
- name: Check Maven Org Cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.m2/repository/org | |
key: mvn-org-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
mvn-org- | |
- name: Check Maven Net Cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.m2/repository/net | |
key: mvn-net-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
mvn-net- | |
- name: Check Maven IO Cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.m2/repository/io | |
key: mvn-io-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
mvn-io- | |
- name: Check Maven BIZ Cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.m2/repository/biz | |
key: mvn-biz-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
mvn-biz- | |
- name: Check Maven IT Cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.m2/repository/it | |
key: mvn-it-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
mvn-it- | |
- name: Set up JDK 1.8 FR | |
uses: actions/[email protected] | |
with: | |
java-version: 1.8 | |
- name: Disk After Cache | |
run: | | |
df -h | |
- name: Build with Maven | |
env: | |
MAVEN_OPTS: -Xmx2g -XX:ReservedCodeCacheSize=1g -XX:+UseG1GC -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN -Dmaven.surefire.arguments="-Duser.language=fr -Duser.region=FR -Duser.timezone=Europe/Paris" | |
run: | | |
mvn -V -T 0.8C package -B -Pcontrib-check,include-grpc -Ddir-only -ntp -ff -pl -nifi-assembly,-nifi-toolkit/nifi-toolkit-assembly,-nifi-system-tests -nsu | |
- name: Disk After Build | |
run: | | |
df -h | |
ubuntu-build-en: | |
timeout-minutes: 90 | |
runs-on: ubuntu-latest | |
name: Ubuntu - JDK 11 EN | |
steps: | |
- name: Disk Before Code and Cache | |
run: | | |
sudo swapoff -a | |
sudo rm -f /swapfile | |
sudo apt clean | |
docker rmi $(docker image ls -aq) | |
df -h | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Check NPM Cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.npm | |
key: npm-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
npm- | |
- name: Check Maven Com Cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.m2/repository/com | |
key: mvn-com-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
mvn-com- | |
- name: Check Maven Org Cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.m2/repository/org | |
key: mvn-org-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
mvn-org- | |
- name: Check Maven Net Cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.m2/repository/net | |
key: mvn-net-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
mvn-net- | |
- name: Check Maven IO Cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.m2/repository/io | |
key: mvn-io-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
mvn-io- | |
- name: Check Maven BIZ Cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.m2/repository/biz | |
key: mvn-biz-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
mvn-biz- | |
- name: Check Maven IT Cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.m2/repository/it | |
key: mvn-it-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
mvn-it- | |
- name: Set up JDK 11 EN | |
uses: actions/[email protected] | |
with: | |
java-version: 11 | |
- name: Disk After Cache | |
run: | | |
df -h | |
- name: Build with Maven | |
env: | |
MAVEN_OPTS: -Xmx2g -XX:ReservedCodeCacheSize=1g -XX:+UseG1GC -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN -Dmaven.surefire.arguments="-Duser.language=en -Duser.region=AU -Duser.timezone=Australia/Melbourne" | |
run: | | |
mvn -V -T 0.8C package -B -Pcontrib-check,include-grpc -Ddir-only -ntp -ff -pl -nifi-assembly,-nifi-toolkit/nifi-toolkit-assembly,-nifi-system-tests -nsu | |
- name: Disk After Build | |
run: | | |
df -h | |
osx-build-jp: | |
timeout-minutes: 90 | |
runs-on: macos-latest | |
name: MacOS - JDK 1.8 JP | |
steps: | |
- name: Disk Before Code and Cache | |
run: | | |
df -h | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Check NPM Cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.npm | |
key: npm-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
npm- | |
- name: Check Maven Com Cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.m2/repository/com | |
key: mvn-com-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
mvn-com- | |
- name: Check Maven Org Cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.m2/repository/org | |
key: mvn-org-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
mvn-org- | |
- name: Check Maven Net Cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.m2/repository/net | |
key: mvn-net-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
mvn-net- | |
- name: Check Maven IO Cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.m2/repository/io | |
key: mvn-io-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
mvn-io- | |
- name: Check Maven BIZ Cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.m2/repository/biz | |
key: mvn-biz-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
mvn-biz- | |
- name: Check Maven IT Cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.m2/repository/it | |
key: mvn-it-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
mvn-it- | |
- name: Set up JDK 1.8 JP | |
uses: actions/[email protected] | |
with: | |
java-version: 1.8 | |
- name: Disk After Cache | |
run: | | |
df -h | |
- name: Build with Maven | |
env: | |
MAVEN_OPTS: -Xmx2g -XX:ReservedCodeCacheSize=1g -XX:+UseG1GC -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN -Dmaven.surefire.arguments="-Duser.language=ja -Duser.region=JP -Duser.timezone=Asia/Tokyo" | |
run: | | |
mvn -V -T 0.8C package -B -Pcontrib-check,include-grpc -Ddir-only -ntp -ff -pl -nifi-assembly,-nifi-toolkit/nifi-toolkit-assembly,-nifi-system-tests -nsu | |
- name: Disk After Build | |
run: | | |
df -h | |
windows-build: | |
runs-on: windows-latest | |
name: Windows - JDK 1.8 | |
steps: | |
- name: Setup Git | |
run: | | |
git config --global core.autocrlf false | |
git config --global core.longpaths true | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Check Maven Com Cache | |
uses: actions/[email protected] | |
with: | |
path: ~\.m2\repository\com | |
key: win-mvn-com-${{ hashFiles('**\pom.xml') }} | |
restore-keys: | | |
win-mvn-com- | |
- name: Check Maven Org Cache | |
uses: actions/[email protected] | |
with: | |
path: ~\.m2\repository\org | |
key: win-mvn-org-${{ hashFiles('**\pom.xml') }} | |
restore-keys: | | |
win-mvn-org- | |
- name: Check Maven Net Cache | |
uses: actions/[email protected] | |
with: | |
path: ~\.m2\repository\net | |
key: win-mvn-net-${{ hashFiles('**\pom.xml') }} | |
restore-keys: | | |
win-mvn-net- | |
- name: Check Maven IO Cache | |
uses: actions/[email protected] | |
with: | |
path: ~\.m2\repository\io | |
key: win-mvn-io-${{ hashFiles('**\pom.xml') }} | |
restore-keys: | | |
win-mvn-io- | |
- name: Check Maven BIZ Cache | |
uses: actions/[email protected] | |
with: | |
path: ~\.m2\repository\biz | |
key: win-mvn-biz-${{ hashFiles('**\pom.xml') }} | |
restore-keys: | | |
win-mvn-biz- | |
- name: Check Maven IT Cache | |
uses: actions/[email protected] | |
with: | |
path: ~\.m2\repository\it | |
key: win-mvn-it-${{ hashFiles('**\pom.xml') }} | |
restore-keys: | | |
win-mvn-it- | |
- name: Set up JDK 1.8 | |
uses: actions/[email protected] | |
with: | |
java-version: 1.8 | |
- name: Build with Maven | |
env: | |
MAVEN_OPTS: -Xmx2g -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN -Dmaven.surefire.arguments="-Duser.language=en -Duser.region=US -Duser.timezone=US/Pacific" | |
run: | | |
mvn -V -T 0.8C package -B -Ddir-only -ntp -ff -pl -nifi-assembly -pl -nifi-system-tests -nsu |