-
Notifications
You must be signed in to change notification settings - Fork 1.2k
62 lines (53 loc) · 2.07 KB
/
Copy pathstdlib.yaml
File metadata and controls
62 lines (53 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: Compile Full Standard Library
on:
push:
branches:
- 'main'
pull_request:
workflow_call:
permissions:
contents: read
env:
DOTTY_CI_RUN: true
jobs:
test-scala-library-nonbootstrapped:
if: github.event_name != 'pull_request' || !contains(github.event.pull_request.body, '[skip ci]')
name: Non-Bootstrapped Library Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
with:
distribution: 'temurin'
java-version: 17
cache: 'sbt'
- uses: sbt/setup-sbt@8feba82adc7f01ddcf8165b86f778bdb5b82cebc # v1.5.7
- run: ./project/scripts/sbt scala-library-nonbootstrapped/test
test-scala-library-bootstrapped:
if: github.event_name != 'pull_request' || !contains(github.event.pull_request.body, '[skip ci]')
name: Bootstrapped Library Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
with:
distribution: 'temurin'
java-version: 17
cache: 'sbt'
- uses: sbt/setup-sbt@8feba82adc7f01ddcf8165b86f778bdb5b82cebc # v1.5.7
- run: ./project/scripts/sbt scala-library-bootstrapped/test
scala-library-docs:
if: github.event_name != 'pull_request' || !contains(github.event.pull_request.body, '[skip ci]')
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up JDK 17
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
with:
distribution: 'temurin'
java-version: 17
cache: 'sbt'
- uses: sbt/setup-sbt@8feba82adc7f01ddcf8165b86f778bdb5b82cebc # v1.5.7
- name: Generate Documentation of the Standard Library
run: ./project/scripts/sbt scala-library-bootstrapped/doc