Skip to content
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

Fix root module name #463

Merged
merged 3 commits into from
Sep 5, 2024
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
68 changes: 34 additions & 34 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
os: [ubuntu-latest]
scala: [2.12, 2.13, 3]
java: [temurin@8]
project: [rootJS, rootJVM, rootNative]
project: [disciplineNative, disciplineJS, disciplineJVM]
runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps:
Expand Down Expand Up @@ -63,14 +63,14 @@ jobs:
if: matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest'
run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck

- name: scalaJSLink
if: matrix.project == 'rootJS'
run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' Test/scalaJSLinkerResult

- name: nativeLink
if: matrix.project == 'rootNative'
if: matrix.project == 'disciplineNative'
run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' Test/nativeLink

- name: scalaJSLink
if: matrix.project == 'disciplineJS'
run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' Test/scalaJSLinkerResult

- name: Test
run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' test

Expand Down Expand Up @@ -129,92 +129,92 @@ jobs:
if: matrix.java == 'temurin@8' && steps.setup-java-temurin-8.outputs.cache-hit == 'false'
run: sbt +update

- name: Download target directories (2.12, rootJS)
- name: Download target directories (2.12, disciplineNative)
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12-rootJS
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12-disciplineNative

- name: Inflate target directories (2.12, rootJS)
- name: Inflate target directories (2.12, disciplineNative)
run: |
tar xf targets.tar
rm targets.tar

- name: Download target directories (2.12, rootJVM)
- name: Download target directories (2.12, disciplineJS)
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12-rootJVM
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12-disciplineJS

- name: Inflate target directories (2.12, rootJVM)
- name: Inflate target directories (2.12, disciplineJS)
run: |
tar xf targets.tar
rm targets.tar

- name: Download target directories (2.12, rootNative)
- name: Download target directories (2.12, disciplineJVM)
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12-rootNative
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12-disciplineJVM

- name: Inflate target directories (2.12, rootNative)
- name: Inflate target directories (2.12, disciplineJVM)
run: |
tar xf targets.tar
rm targets.tar

- name: Download target directories (2.13, rootJS)
- name: Download target directories (2.13, disciplineNative)
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.13-rootJS
name: target-${{ matrix.os }}-${{ matrix.java }}-2.13-disciplineNative

- name: Inflate target directories (2.13, rootJS)
- name: Inflate target directories (2.13, disciplineNative)
run: |
tar xf targets.tar
rm targets.tar

- name: Download target directories (2.13, rootJVM)
- name: Download target directories (2.13, disciplineJS)
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.13-rootJVM
name: target-${{ matrix.os }}-${{ matrix.java }}-2.13-disciplineJS

- name: Inflate target directories (2.13, rootJVM)
- name: Inflate target directories (2.13, disciplineJS)
run: |
tar xf targets.tar
rm targets.tar

- name: Download target directories (2.13, rootNative)
- name: Download target directories (2.13, disciplineJVM)
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.13-rootNative
name: target-${{ matrix.os }}-${{ matrix.java }}-2.13-disciplineJVM

- name: Inflate target directories (2.13, rootNative)
- name: Inflate target directories (2.13, disciplineJVM)
run: |
tar xf targets.tar
rm targets.tar

- name: Download target directories (3, rootJS)
- name: Download target directories (3, disciplineNative)
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-3-rootJS
name: target-${{ matrix.os }}-${{ matrix.java }}-3-disciplineNative

- name: Inflate target directories (3, rootJS)
- name: Inflate target directories (3, disciplineNative)
run: |
tar xf targets.tar
rm targets.tar

- name: Download target directories (3, rootJVM)
- name: Download target directories (3, disciplineJS)
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-3-rootJVM
name: target-${{ matrix.os }}-${{ matrix.java }}-3-disciplineJS

- name: Inflate target directories (3, rootJVM)
- name: Inflate target directories (3, disciplineJS)
run: |
tar xf targets.tar
rm targets.tar

- name: Download target directories (3, rootNative)
- name: Download target directories (3, disciplineJVM)
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-3-rootNative
name: target-${{ matrix.os }}-${{ matrix.java }}-3-disciplineJVM

- name: Inflate target directories (3, rootNative)
- name: Inflate target directories (3, disciplineJVM)
run: |
tar xf targets.tar
rm targets.tar
Expand Down Expand Up @@ -277,5 +277,5 @@ jobs:
- name: Submit Dependencies
uses: scalacenter/sbt-dependency-submission@v2
with:
modules-ignore: discipline_2.12 discipline_2.13 discipline_3 discipline_2.12 discipline_2.13 discipline_3 discipline_2.12 discipline_2.13 discipline_3
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Essentially, that PR fixes an issue on this line.

modules-ignore: disciplinenative_2.12 disciplinenative_2.13 disciplinenative_3 disciplinejs_2.12 disciplinejs_2.13 disciplinejs_3 disciplinejvm_2.12 disciplinejvm_2.13 disciplinejvm_3
configs-ignore: test scala-tool scala-doc-tool test-internal
18 changes: 9 additions & 9 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ pull_request_rules:
conditions:
- author=scala-steward
- body~=labels:.*early-semver-patch
- status-success=Build and Test (ubuntu-latest, 2.12, temurin@8, rootJS)
- status-success=Build and Test (ubuntu-latest, 2.12, temurin@8, rootJVM)
- status-success=Build and Test (ubuntu-latest, 2.12, temurin@8, rootNative)
- status-success=Build and Test (ubuntu-latest, 2.13, temurin@8, rootJS)
- status-success=Build and Test (ubuntu-latest, 2.13, temurin@8, rootJVM)
- status-success=Build and Test (ubuntu-latest, 2.13, temurin@8, rootNative)
- status-success=Build and Test (ubuntu-latest, 3, temurin@8, rootJS)
- status-success=Build and Test (ubuntu-latest, 3, temurin@8, rootJVM)
- status-success=Build and Test (ubuntu-latest, 3, temurin@8, rootNative)
- status-success=Build and Test (ubuntu-latest, 2.12, temurin@8, disciplineNative)
- status-success=Build and Test (ubuntu-latest, 2.12, temurin@8, disciplineJS)
- status-success=Build and Test (ubuntu-latest, 2.12, temurin@8, disciplineJVM)
- status-success=Build and Test (ubuntu-latest, 2.13, temurin@8, disciplineNative)
- status-success=Build and Test (ubuntu-latest, 2.13, temurin@8, disciplineJS)
- status-success=Build and Test (ubuntu-latest, 2.13, temurin@8, disciplineJVM)
- status-success=Build and Test (ubuntu-latest, 3, temurin@8, disciplineNative)
- status-success=Build and Test (ubuntu-latest, 3, temurin@8, disciplineJS)
- status-success=Build and Test (ubuntu-latest, 3, temurin@8, disciplineJVM)
actions:
merge: {}
- name: Label core PRs
Expand Down
6 changes: 1 addition & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ ThisBuild / tlJdkRelease := Some(8)

ThisBuild / tlSonatypeUseLegacyHost := false

lazy val root = tlCrossRootProject
.aggregate(core)
.settings(
name := "discipline"
)
lazy val discipline = tlCrossRootProject.aggregate(core)

lazy val core = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.crossType(CrossType.Pure)
Expand Down