File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow uses actions that are not certified by GitHub.
2+ # They are provided by a third-party and are governed by
3+ # separate terms of service, privacy policy, and support
4+ # documentation.
5+ name : D
6+
7+ on :
8+ push :
9+ branches : [ "main" ]
10+ pull_request :
11+ branches : [ "main" ]
12+
13+ permissions :
14+ contents : read
15+
16+ jobs :
17+ build :
18+
19+ runs-on : ${{matrix.os}}
20+
21+ strategy :
22+ matrix :
23+ os : [macos-latest, ubuntu-latest, windows-latest]
24+
25+ steps :
26+ - uses : actions/checkout@v3
27+ - uses : dlang-community/setup-dlang@4c99aa991ce7d19dd3064de0a4f2f6b2f152e2d7
28+
29+ - name : ' Build & Test'
30+ run : |
31+ # Build the project, with its main file included, without unittests
32+ dub build -b release --compiler=ldc
33+
34+ - name : Upload
35+ uses : actions/upload-artifact@v3
36+ with :
37+ name : build-${{matrix.os}}
38+ path : ${{github.workspace}}/cac*
You can’t perform that action at this time.
0 commit comments