Add parameter to ignore cpu_model and to change default CPU power draw value #207
Workflow file for this run
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: nf-co2footprint CI | |
on: | |
push: | |
branches: | |
- '*' | |
tags-ignore: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build: | |
name: Build nf-co2footprint | |
if: "!contains(github.event.head_commit.message, '[ci skip]')" | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
strategy: | |
fail-fast: false | |
matrix: | |
java_version: [8, 11] | |
steps: | |
- name: Environment | |
run: env | sort | |
- name: Checkout | |
uses: actions/checkout@v1 | |
with: | |
fetch-depth: 1 | |
submodules: true | |
- name: Setup Java ${{ matrix.java_version }} | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{matrix.java_version}} | |
architecture: x64 | |
- name: Compile | |
run: ./gradlew assemble | |
- name: Tests | |
run: ./gradlew check | |
env: | |
GRADLE_OPTS: '-Dorg.gradle.daemon=false' | |