diff --git a/.github/workflows/test-cc.yml b/.github/workflows/test-cc.yml new file mode 100644 index 000000000000..39d21b5b952f --- /dev/null +++ b/.github/workflows/test-cc.yml @@ -0,0 +1,26 @@ +name: Scala 3 with Capture Checking + +on: + push: + branches: + - main + pull_request: + paths: + - .github/workflows/test-cc.yml + - scala2-library-cc/** + - scala2-library-cc-tasty/** + - compiler/src/dotty/tools/dotc/cc/** + +env: + DOTTY_CI_RUN: true + DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} + +jobs: + suite-with-stdlib-cc: + name: Test Suite with the CC Standard Library + runs-on: ubuntu-latest + steps: + - name: Git Checkout + uses: actions/checkout@v4 + - name: Test with Scala 2 library with CC TASTy + run: ./project/scripts/sbt ";set ThisBuild/Build.scala2Library := Build.Scala2LibraryCCTasty ;scala3-bootstrapped/test"