-
Notifications
You must be signed in to change notification settings - Fork 2
51 lines (39 loc) · 1.01 KB
/
windows.yml
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
# 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: Windows build + Setup
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
strategy:
matrix:
os: [ windows-2022 ]
dc: [ dmd-latest ]
arch: [ x86_64 ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
compiler: ${{ matrix.dc }}
- uses: TheMrMilchmann/setup-msvc-dev@v3
with:
arch: x64
- name: Build
run: |
dub run :setup
dub build --build=plain
iscc etichetta.iss /VERYSILENT /Fetichetta-setup /O+
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: setup
path: ./Output/etichetta-setup.exe