You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by sl...@apache.org on 2019/08/20 14:45:37 UTC
[incubator-daffodil] branch daffodil-498-windows-ci updated: One
more time
This is an automated email from the ASF dual-hosted git repository.
slawrence pushed a commit to branch daffodil-498-windows-ci
in repository https://gitbox.apache.org/repos/asf/incubator-daffodil.git
The following commit(s) were added to refs/heads/daffodil-498-windows-ci by this push:
new fb2767f One more time
fb2767f is described below
commit fb2767f43edd4d60c2ac6cac99c194fc7c85008f
Author: Steve Lawrence <sl...@apache.org>
AuthorDate: Tue Aug 20 10:45:22 2019 -0400
One more time
---
.github/workflows/main.yml | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index f6cf1d9..f41abbe 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -52,12 +52,12 @@ jobs:
# PATH. So add a link to sbt in a directory that is in PATH and that
# should always exist (bit of a hack).
mklink "C:\ProgramData\Chocolatey\bin\sbt" "C:\Program Files (x86)\sbt\bin\sbt"
- dir "C:\Program Files (x86)\sbt"
- dir "C:\Program Files (x86)\sbt\conf"
if: runner.os == 'Windows'
- name: Configure SBT
- run: echo "export SBT_OPTS=\"$SBT_CONFIG\"" >> ~/.bashrc
+ run: |
+ echo "export SBT=\"$SBT_CONFIG\"" >> ~/.bashrc
+ tail ~/.bashrc
shell: bash
env:
SBT_CONFIG: -J-Xms1024m -J-Xmx5120m -J-XX:ReservedCodeCacheSize=512m -J-XX:MaxMetaspaceSize=1024m ++${{ matrix.scala_version }} coverage
@@ -72,22 +72,24 @@ jobs:
############################################################
- name: Compile
- run: sbt compile test:compile it:compile
+ run: |
+ tail ~/.bashrc
+ $SBT compile test:compile it:compile
id: compile
shell: bash
- name: Build Documentation
- run: sbt daffodil-japi/genjavadoc:doc daffodil-sapi/doc
+ run: $SBT daffodil-japi/genjavadoc:doc daffodil-sapi/doc
continue-on-error: true
shell: bash
- name: Package Zip & Tar
- run: sbt daffodil-cli/universal:packageBin daffodil-cli/universal:packageZipTarball
+ run: $SBT daffodil-cli/universal:packageBin daffodil-cli/universal:packageZipTarball
continue-on-error: true
shell: bash
- name: Package RPM
- run: sbt daffodil-cli/rpm:packageBin
+ run: $SBT daffodil-cli/rpm:packageBin
if: runner.os == 'Linux'
continue-on-error: true
shell: bash
@@ -97,24 +99,24 @@ jobs:
############################################################
- name: Run Rat Check
- run: sbt ratCheck || (cat target/rat.txt; exit 1)
+ run: $SBT ratCheck || (cat target/rat.txt; exit 1)
continue-on-error: true
shell: bash
- name: Run Unit Tests
- run: sbt test
+ run: $SBT test
continue-on-error: true
shell: bash
- name: Run Integration Tests
- run: sbt it:test
+ run: $SBT it:test
continue-on-error: true
shell: bash
# Disabled until we switch from TravisCI to Github Actions
#- name: Generate Coverage Report
# run: |
- # sbt coverageReport
+ # $SBT coverageReport
# bash <(curl -s https://codecov.io/bash)
# continue-on-error: true
# shell: bash