-
Notifications
You must be signed in to change notification settings - Fork 8
38 lines (30 loc) · 870 Bytes
/
build.yml
File metadata and controls
38 lines (30 loc) · 870 Bytes
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
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [macos-13, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: dlang-community/setup-dlang@934047eba531212a2c77e7c1b5999d32c2becb81
- name: 'Build & Test'
run: |
# Build the project, with its main file included, without unittests
dub build -b release
- name: Upload
uses: actions/upload-artifact@v4
with:
name: build-${{matrix.os}}
path: ${{github.workspace}}/cac*