Skip to content

Commit 3aa9957

Browse files
committed
Upload test log as build artifact and build with LDC.
1 parent 3f3023b commit 3aa9957

1 file changed

Lines changed: 17 additions & 15 deletions

File tree

.github/workflows/ci.yml

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,44 +17,46 @@ jobs:
1717
matrix:
1818
os: [ubuntu-latest, windows-latest]
1919
dc: [dmd-latest, ldc-latest, ldc-1.15.0]
20-
arch: [x86, x86_64]
20+
arch: [x86_64]
21+
include:
22+
- {os: windows-latest, dc: ldc-latest, arch: x86}
2123

2224
runs-on: ${{ matrix.os }}
2325
steps:
24-
- uses: actions/checkout@v2
26+
- uses: actions/checkout@v4
2527

2628
- name: Install D compiler
27-
uses: dlang-community/setup-dlang@v1
29+
uses: dlang-community/setup-dlang@v2
2830
with:
2931
compiler: ${{ matrix.dc }}
3032

3133
- name: Run tests
32-
env:
33-
CONFIG: ${{matrix.config}}
34-
ARCH: ${{matrix.arch}}
3534
shell: bash
36-
run: dub test :engine
35+
run: dub test :engine -a ${{matrix.arch}}
3736
testsuite:
3837
name: Test262
3938
strategy:
4039
fail-fast: false
4140
matrix:
4241
os: [ubuntu-latest]
43-
dc: [dmd-latest]
44-
arch: [x86_64]
42+
dc: [ldc-latest]
4543

4644
runs-on: ${{ matrix.os }}
4745
steps:
48-
- uses: actions/checkout@v2
46+
- uses: actions/checkout@v4
4947

5048
- name: Install D compiler
51-
uses: dlang-community/setup-dlang@v1
49+
uses: dlang-community/setup-dlang@v2
5250
with:
53-
compiler: ${{ matrix.dc }}
51+
compiler: ${{matrix.dc}}
5452

5553
- name: Run tests
56-
env:
57-
CONFIG: ${{matrix.config}}
58-
ARCH: ${{matrix.arch}}
5954
shell: bash
6055
run: ./run-test262.sh
56+
57+
- name: Upload log
58+
uses: actions/upload-artifact@v3
59+
if: always()
60+
with:
61+
name: runtest262 log
62+
path: dmdscript-test262.log

0 commit comments

Comments
 (0)