Skip to content

Commit d40009a

Browse files
authored
chore: add workflow to trigger cc (scala#22060)
Superseeds scala#22055 When working on capture checking, error messages might change if we compile using the cc library or the non-cc library. Usually, this errors are not catched when running the workflows on each PR and are only detected on nightly builds. The following PR introduces a new workflow that is trigger on each merge to main and on each change to cc related files.
2 parents 300043e + 790a50a commit d40009a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/test-cc.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Scala 3 with Capture Checking
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
paths:
9+
- .github/workflows/test-cc.yml
10+
- scala2-library-cc/**
11+
- scala2-library-cc-tasty/**
12+
- compiler/src/dotty/tools/dotc/cc/**
13+
14+
env:
15+
DOTTY_CI_RUN: true
16+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
17+
18+
jobs:
19+
suite-with-stdlib-cc:
20+
name: Test Suite with the CC Standard Library
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Git Checkout
24+
uses: actions/checkout@v4
25+
- name: Test with Scala 2 library with CC TASTy
26+
run: ./project/scripts/sbt ";set ThisBuild/Build.scala2Library := Build.Scala2LibraryCCTasty ;scala3-bootstrapped/test"

0 commit comments

Comments
 (0)