Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

Fix directories management #34

Merged
merged 1 commit into from
Feb 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/build_arrow-fx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
arrow-fx_build:

env:
BASEDIR: ${{github.workspace}}
BASEDIR: ${{github.workspace}}/..
JAVA_OPTS: -Xms512m -Xmx1024m

runs-on: ubuntu-latest
Expand All @@ -21,8 +21,9 @@ jobs:
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Checkout orchestrator
run: git clone https://github.com/arrow-kt/arrow.git arrow
- name: Build with Gradle
run: |
./arrow/scripts/project-build.sh
cd $BASEDIR
git clone https://github.com/arrow-kt/arrow.git
- name: Build with Gradle
run: $BASEDIR/arrow/scripts/project-build.sh arrow-fx
./gradlew :arrow-benchmarks-fx:jmhClasses
25 changes: 13 additions & 12 deletions .github/workflows/build_doc_arrow-fx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,33 @@ jobs:
arrow-fx_build_documentation:

env:
BASEDIR: ${{github.workspace}}
BASEDIR: ${{github.workspace}}/..
JAVA_OPTS: -Xms512m -Xmx1024m

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
architecture: x64
- name: Checkout orchestrator
run: git clone https://github.com/arrow-kt/arrow.git
run: |
cd $BASEDIR
git clone https://github.com/arrow-kt/arrow.git
- name: Run Ank for site
run: |
./arrow/scripts/site-download.sh
./arrow/scripts/site-run-ank.sh
- name: Run Dokka for arrow-fx
run: |
git clone https://github.com/arrow-kt/arrow-fx.git
./arrow/scripts/project-run-dokka.sh arrow-fx
$BASEDIR/arrow/scripts/site-download.sh
$BASEDIR/arrow/scripts/site-run-ank.sh
- name: Run Dokka for arrow-fx
run: $BASEDIR/arrow/scripts/project-run-dokka.sh arrow-fx
- name: Run Ank for arrow-fx
run: ./arrow/scripts/project-run-ank.sh arrow-fx
run: $BASEDIR/arrow/scripts/project-run-ank.sh arrow-fx
- name: Join docs to site
run: ./arrow/scripts/project-locate-doc.sh arrow-fx
run: $BASEDIR/arrow/scripts/project-locate-doc.sh arrow-fx
- name: Prepare environment
run: ./arrow/scripts/site-prepare-env.sh
run: $BASEDIR/arrow/scripts/site-prepare-env.sh
- name: Build site
run: ./arrow/scripts/site-build.sh
run: $BASEDIR/arrow/scripts/site-build.sh
9 changes: 7 additions & 2 deletions .github/workflows/check_build_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,19 @@ on:
jobs:
check-build-integration:

env:
BASEDIR: ${{github.workspace}}/..
JAVA_OPTS: -Xms512m -Xmx1024m

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Check
run: |
git clone https://github.com/arrow-kt/arrow.git arrow
./arrow/scripts/check-build-integration.sh
cd $BASEDIR
git clone https://github.com/arrow-kt/arrow.git
$BASEDIR/arrow/scripts/check-build-integration.sh
- name: Prepare environment to create the issue (new package)
if: failure()
id: create-issue
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/check_doc_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,23 @@ on:
jobs:
check-doc-integration:

env:
BASEDIR: ${{github.workspace}}/..
JAVA_OPTS: -Xms512m -Xmx1024m

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Check
run: |
git clone https://github.com/arrow-kt/arrow.git arrow
./arrow/scripts/check-doc-integration.sh
cd $BASEDIR
git clone https://github.com/arrow-kt/arrow.git
$BASEDIR/arrow/scripts/check-doc-integration.sh
- name: Prepare environment to create the issue (new package)
if: failure()
id: create-issue
run: |
git clone https://github.com/arrow-kt/arrow-fx.git
cd arrow-fx
echo $(git log -1 --pretty=format:%s)
echo ::set-output name=title::$(git log -1 --pretty=format:%s)
echo -e "## Details\n" > issue.log
Expand Down Expand Up @@ -52,4 +56,4 @@ jobs:
}
await github.issues.create({...context.repo,
title: "DOC: error when integrating '${{ steps.create-issue.outputs.title }}' with the rest of Arrow libraries",
body: readFile("file://${{github.workspace}}/arrow-fx/issue.log")});
body: readFile("file://${{github.workspace}}/issue.log")});
10 changes: 6 additions & 4 deletions .github/workflows/publish_arrow-fx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
arrow-fx_publish:

env:
BASEDIR: ${{github.workspace}}
BASEDIR: ${{github.workspace}}/..
JAVA_OPTS: -Xms512m -Xmx1024m

runs-on: ubuntu-latest
Expand All @@ -25,16 +25,18 @@ jobs:
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Checkout orchestrator
run: git clone https://github.com/arrow-kt/arrow.git arrow
run: |
cd $BASEDIR
git clone https://github.com/arrow-kt/arrow.git
- name: Build with Gradle
run: |
./arrow/scripts/project-build.sh
$BASEDIR/arrow/scripts/project-build.sh arrow-fx
./gradlew :arrow-benchmarks-fx:jmhClasses
- name: Publish artifacts
env:
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }}
run: ./arrow/scripts/project-publish.sh
run: $BASEDIR/arrow/scripts/project-publish.sh arrow-fx
- name: Prepare environment to create the issue (new package)
if: failure()
id: create-issue
Expand Down
29 changes: 15 additions & 14 deletions .github/workflows/publish_doc_arrow-fx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,44 +9,45 @@ jobs:
arrow-fx_publish_documentation:

env:
BASEDIR: ${{github.workspace}}
BASEDIR: ${{github.workspace}}/..
JAVA_OPTS: -Xms512m -Xmx1024m

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
architecture: x64
- name: Checkout orchestrator
run: git clone https://github.com/arrow-kt/arrow.git
run: |
cd $BASEDIR
git clone https://github.com/arrow-kt/arrow.git
- name: Run Ank for site
run: |
./arrow/scripts/site-download.sh
./arrow/scripts/site-run-ank.sh
- name: Run Dokka for arrow-fx
run: |
git clone https://github.com/arrow-kt/arrow-fx.git
./arrow/scripts/project-run-dokka.sh arrow-fx
$BASEDIR/arrow/scripts/site-download.sh
$BASEDIR/arrow/scripts/site-run-ank.sh
- name: Run Dokka for arrow-fx
run: $BASEDIR/arrow/scripts/project-run-dokka.sh arrow-fx
- name: Run Ank for arrow-fx
run: ./arrow/scripts/project-run-ank.sh arrow-fx
run: $BASEDIR/arrow/scripts/project-run-ank.sh arrow-fx
- name: Join docs to site
run: ./arrow/scripts/project-locate-doc.sh arrow-fx
run: $BASEDIR/arrow/scripts/project-locate-doc.sh arrow-fx
- name: Prepare environment
run: |
./arrow/scripts/site-prepare-env.sh
./arrow/scripts/install-aws.sh
$BASEDIR/arrow/scripts/site-prepare-env.sh
$BASEDIR/arrow/scripts/install-aws.sh
- name: Build site
run: ./arrow/scripts/site-build.sh
run: $BASEDIR/arrow/scripts/site-build.sh
- name: Deploy
env:
S3_BUCKET: ${{ secrets.S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_CLOUDFRONT_ID: ${{ secrets.AWS_CLOUDFRONT_ID }}
run: ./arrow/scripts/site-publish.sh
run: $BASEDIR/arrow/scripts/site-publish.sh
- name: Prepare environment to create the issue (new package)
if: failure()
id: create-issue
Expand Down