Skip to content
Merged
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
78 changes: 37 additions & 41 deletions .github/workflows/stdlib.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

scala3-library-nonbootstrapped:
runs-on: ubuntu-latest
##needs: [scala-library-nonbootstrapped] Add when we add support for caching here
needs: [scala-library-nonbootstrapped]
steps:
- name: Git Checkout
uses: actions/checkout@v5
Expand All @@ -48,9 +48,9 @@ jobs:
- name: Compile `scala3-library-nonbootstrapped`
run: ./project/scripts/sbt scala3-library-nonbootstrapped/compile

scala-library-bootstrapped:
tasty-core-nonbootstrapped:
runs-on: ubuntu-latest
needs : [scala3-compiler-nonbootstrapped, scala3-sbt-bridge-nonbootstrapped, scala-library-nonbootstrapped, scala3-library-nonbootstrapped]
needs: [scala3-library-nonbootstrapped]
steps:
- name: Git Checkout
uses: actions/checkout@v5
Expand All @@ -61,14 +61,13 @@ jobs:
distribution: 'temurin'
java-version: 17
cache: 'sbt'

- uses: sbt/setup-sbt@v1
- name: Compile `scala-library-bootstrapped`
run: ./project/scripts/sbt scala-library-bootstrapped/compile
- name: Compile `tasty-core-nonbootstrapped`
run: ./project/scripts/sbt tasty-core-nonbootstrapped/compile

scala3-library-bootstrapped:
scala3-compiler-nonbootstrapped:
runs-on: ubuntu-latest
##needs: [scala-library-bootstrapped] Add when we add support for caching here
needs: [tasty-core-nonbootstrapped, scala3-library-nonbootstrapped]
steps:
- name: Git Checkout
uses: actions/checkout@v5
Expand All @@ -79,14 +78,13 @@ jobs:
distribution: 'temurin'
java-version: 17
cache: 'sbt'

- uses: sbt/setup-sbt@v1
- name: Compile `scala3-library-bootstrapped`
run: ./project/scripts/sbt scala3-library-bootstrapped-new/compile
- name: Compile `scala3-compiler-nonbootstrapped`
run: ./project/scripts/sbt scala3-compiler-nonbootstrapped/compile

tasty-core-nonbootstrapped:
scala3-sbt-bridge-nonbootstrapped:
runs-on: ubuntu-latest
##needs: [scala3-library-nonbootstrapped] Add when we add support for caching here
needs: [scala3-compiler-nonbootstrapped]
steps:
- name: Git Checkout
uses: actions/checkout@v5
Expand All @@ -98,12 +96,13 @@ jobs:
java-version: 17
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- name: Compile `tasty-core-nonbootstrapped`
run: ./project/scripts/sbt tasty-core-nonbootstrapped/compile
- name: Compile `scala3-sbt-bridge-nonbootstrapped`
run: ./project/scripts/sbt scala3-sbt-bridge-nonbootstrapped/compile

scala3-compiler-nonbootstrapped:
scala-library-bootstrapped:
runs-on: ubuntu-latest
##needs: [tasty-core-nonbootstrapped, scala3-library-nonbootstrapped] Add when we add support for caching here
needs : [scala-library-nonbootstrapped, scala3-library-nonbootstrapped, tasty-core-nonbootstrapped,
scala3-compiler-nonbootstrapped, scala3-sbt-bridge-nonbootstrapped]
steps:
- name: Git Checkout
uses: actions/checkout@v5
Expand All @@ -114,13 +113,14 @@ jobs:
distribution: 'temurin'
java-version: 17
cache: 'sbt'

- uses: sbt/setup-sbt@v1
- name: Compile `scala3-compiler-nonbootstrapped`
run: ./project/scripts/sbt scala3-compiler-nonbootstrapped/compile
- name: Compile `scala-library-bootstrapped`
run: ./project/scripts/sbt scala-library-bootstrapped/compile

scala3-sbt-bridge-nonbootstrapped:
scala3-library-bootstrapped:
runs-on: ubuntu-latest
##needs: [scala3-compiler-nonbootstrapped] Add when we add support for caching here
needs: [scala-library-bootstrapped]
steps:
- name: Git Checkout
uses: actions/checkout@v5
Expand All @@ -131,13 +131,14 @@ jobs:
distribution: 'temurin'
java-version: 17
cache: 'sbt'

- uses: sbt/setup-sbt@v1
- name: Compile `scala3-sbt-bridge-nonbootstrapped`
run: ./project/scripts/sbt scala3-sbt-bridge-nonbootstrapped/compile
- name: Compile `scala3-library-bootstrapped`
run: ./project/scripts/sbt scala3-library-bootstrapped-new/compile

tasty-core-bootstrapped:
runs-on: ubuntu-latest
##needs: [scala3-library-bootstrapped] Add when we add support for caching here
needs: [scala3-library-bootstrapped]
steps:
- name: Git Checkout
uses: actions/checkout@v5
Expand All @@ -154,7 +155,7 @@ jobs:

scala3-compiler-bootstrapped:
runs-on: ubuntu-latest
##needs: [tasty-core-bootstrapped, scala3-library-bootstrapped] Add when we add support for caching here
needs: [tasty-core-bootstrapped, scala3-library-bootstrapped]
steps:
- name: Git Checkout
uses: actions/checkout@v5
Expand All @@ -171,7 +172,7 @@ jobs:

scala3-sbt-bridge-bootstrapped:
runs-on: ubuntu-latest
##needs: [scala3-compiler-bootstrapped] Add when we add support for caching here
needs: [scala3-compiler-bootstrapped]
steps:
- name: Git Checkout
uses: actions/checkout@v5
Expand All @@ -188,7 +189,7 @@ jobs:

scala3-staging:
runs-on: ubuntu-latest
##needs: [scala3-compiler-bootstrapped] Add when we add support for caching here
needs: [scala3-compiler-bootstrapped]
steps:
- name: Git Checkout
uses: actions/checkout@v5
Expand All @@ -205,7 +206,7 @@ jobs:

scala3-tasty-inspector:
runs-on: ubuntu-latest
##needs: [scala3-compiler-bootstrapped] Add when we add support for caching here
needs: [scala3-compiler-bootstrapped]
steps:
- name: Git Checkout
uses: actions/checkout@v5
Expand All @@ -224,11 +225,8 @@ jobs:

scala-library-sjs:
runs-on: ubuntu-latest
## Add when we add support for caching here
##needs: [scala3-library-nonbootstrapped,
## tasty-core-nonbootstrapped,
##  scala3-compiler-nonbootstrapped,
##  scala3-sbt-bridge-nonbootstrapped]
needs: [scala-library-nonbootstrapped, scala3-library-nonbootstrapped, tasty-core-nonbootstrapped,
scala3-compiler-nonbootstrapped, scala3-sbt-bridge-nonbootstrapped]
steps:
- name: Git Checkout
uses: actions/checkout@v5
Expand All @@ -247,8 +245,7 @@ jobs:

scala3-library-sjs:
runs-on: ubuntu-latest
## Add when we add support for caching here
##needs: [scala-library-sjs]
needs: [scala-library-sjs]
steps:
- name: Git Checkout
uses: actions/checkout@v5
Expand All @@ -267,8 +264,7 @@ jobs:

scaladoc:
runs-on: ubuntu-latest
## Add when we add support for caching here
##needs: [scala3-compiler-bootstrapped, scala3-tasty-inspector]
needs: [scala3-compiler-bootstrapped, scala3-tasty-inspector]
steps:
- name: Git Checkout
uses: actions/checkout@v5
Expand All @@ -290,7 +286,7 @@ jobs:

test-scala3-sbt-bridge-nonbootstrapped:
runs-on: ubuntu-latest
##needs: [scala3-sbt-bridge-nonbootstrapped] Add when we add support for caching here
needs: [scala3-sbt-bridge-nonbootstrapped]
steps:
- name: Git Checkout
uses: actions/checkout@v5
Expand All @@ -307,7 +303,7 @@ jobs:

test-scala3-sbt-bridge-bootstrapped:
runs-on: ubuntu-latest
##needs: [scala3-sbt-bridge-bootstrapped] Add when we add support for caching here
needs: [scala3-sbt-bridge-bootstrapped]
steps:
- name: Git Checkout
uses: actions/checkout@v5
Expand All @@ -324,7 +320,7 @@ jobs:

test-tasty-core-nonbootstrapped:
runs-on: ubuntu-latest
##needs: [tasty-core-nonbootstrapped] Add when we add support for caching here
needs: [tasty-core-nonbootstrapped]
steps:
- name: Git Checkout
uses: actions/checkout@v5
Expand All @@ -341,7 +337,7 @@ jobs:

test-tasty-core-bootstrapped:
runs-on: ubuntu-latest
##needs: [tasty-core-bootstrapped] Add when we add support for caching here
needs: [tasty-core-bootstrapped]
steps:
- name: Git Checkout
uses: actions/checkout@v5
Expand Down