Skip to content

Add sourcecode to the community build #8685

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
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
77 changes: 28 additions & 49 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,11 @@ jobs:
container: akmetiuk/dotty:2020-02-12

steps:
- name: Checkout cleanup script
uses: actions/checkout@v2

- name: Cleanup
run: |
TARGETS="$(pwd) /__w/_temp /github/home"
for folder in $TARGETS; do
echo "Cleaning $folder"
cd $folder
rm -rf ..?* .[!.]* *
done
run: .github/workflows/cleanup.sh

- name: Git Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -58,14 +55,11 @@ jobs:
container: akmetiuk/dotty:2020-02-12

steps:
- name: Checkout cleanup script
uses: actions/checkout@v2

- name: Cleanup
run: |
TARGETS="$(pwd) /__w/_temp /github/home"
for folder in $TARGETS; do
echo "Cleaning $folder"
cd $folder
rm -rf ..?* .[!.]* *
done
run: .github/workflows/cleanup.sh

- name: Git Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -101,14 +95,11 @@ jobs:
container: akmetiuk/dotty:2020-02-12

steps:
- name: Checkout cleanup script
uses: actions/checkout@v2

- name: Cleanup
run: |
TARGETS="$(pwd) /__w/_temp /github/home"
for folder in $TARGETS; do
echo "Cleaning $folder"
cd $folder
rm -rf ..?* .[!.]* *
done
run: .github/workflows/cleanup.sh

- name: Git Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -150,14 +141,11 @@ jobs:
github.event_name == 'schedule'

steps:
- name: Checkout cleanup script
uses: actions/checkout@v2

- name: Cleanup
run: |
TARGETS="$(pwd) /__w/_temp /github/home"
for folder in $TARGETS; do
echo "Cleaning $folder"
cd $folder
rm -rf ..?* .[!.]* *
done
run: .github/workflows/cleanup.sh

- name: Git Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -196,14 +184,11 @@ jobs:
github.event_name == 'schedule'

steps:
- name: Checkout cleanup script
uses: actions/checkout@v2

- name: Cleanup
run: |
TARGETS="$(pwd) /__w/_temp /github/home"
for folder in $TARGETS; do
echo "Cleaning $folder"
cd $folder
rm -rf ..?* .[!.]* *
done
run: .github/workflows/cleanup.sh

- name: Git Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -247,14 +232,11 @@ jobs:
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}

steps:
- name: Checkout cleanup script
uses: actions/checkout@v2

- name: Cleanup
run: |
TARGETS="$(pwd) /__w/_temp /github/home"
for folder in $TARGETS; do
echo "Cleaning $folder"
cd $folder
rm -rf ..?* .[!.]* *
done
run: .github/workflows/cleanup.sh

- name: Git Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -296,14 +278,11 @@ jobs:
# Make sure you have the write permissions to the repo: https://github.com/lampepfl/dotty-website

steps:
- name: Checkout cleanup script
uses: actions/checkout@v2

- name: Cleanup
run: |
TARGETS="$(pwd) /__w/_temp /github/home"
for folder in $TARGETS; do
echo "Cleaning $folder"
cd $folder
rm -rf ..?* .[!.]* *
done
run: .github/workflows/cleanup.sh

- name: Git Checkout
uses: actions/checkout@v2
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/cleanup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
TARGETS="$(pwd) /__w/_temp /github/home/"
for folder in $TARGETS; do
echo "Cleaning $folder"
cd $folder
for f in $(ls -a); do
if [ "$f" != "." ] &&
[ "$f" != ".." ] &&
[ "$f" != "_github_home" ] # __w/_temp/_github_home is mount as
# /github/home and is cleaned separately
then
rm -rf "$f"
fi
done
done
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,8 @@ class CommunityBuildTest:
@Test def ScalaPB = projects.ScalaPB.run()
@Test def minitest = projects.minitest.run()
@Test def fastparse = projects.fastparse.run()
//@Test def utest = projects.utest.run()
//@Test def sourcecode = projects.sourcecode.run()
@Test def utest = projects.utest.run()
@Test def sourcecode = projects.sourcecode.run()
//@Test def oslib = projects.oslib.run()
//@Test def ujson = projects.ujson.run()
// @Test def oslibWatch = projects.oslibWatch.run()
Expand Down