-
Notifications
You must be signed in to change notification settings - Fork 18
62 lines (53 loc) · 1.54 KB
/
ci.yml
File metadata and controls
62 lines (53 loc) · 1.54 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: Test Suite
# Only triggers on pushes/PRs to master
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
test:
name: CI
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
dc: [dmd-latest, ldc-latest, ldc-1.15.0]
arch: [x86_64]
include:
- {os: windows-latest, dc: ldc-latest, arch: x86}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v2
with:
compiler: ${{ matrix.dc }}
- name: Run tests
shell: bash
run: dub test :engine -a ${{matrix.arch}}
testsuite:
name: Test262
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
dc: [ldc-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v2
with:
compiler: ${{matrix.dc}}
- name: Run tests
shell: bash
run: ./run-test262.sh
- name: Upload log
uses: actions/upload-artifact@v4
if: always()
with:
name: runtest262 log
path: dmdscript-test262.log