-
Notifications
You must be signed in to change notification settings - Fork 10
38 lines (31 loc) · 1013 Bytes
/
Copy pathdub-build.yml
File metadata and controls
38 lines (31 loc) · 1013 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
name: Build project
on:
push:
branches: [ main, feature/x16-support, feature/mega65-support ]
jobs:
build:
name: DUB Build
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
dc: [ldc-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
compiler: ${{ matrix.dc }}
- name: Build
run: dub build --force -v --build=release
- name: Create bin dir
run: mkdir -p bin/${{runner.os}}
shell: bash
- name: Move executable
run: mv xcbasic3* bin/${{runner.os}}/
shell: bash
- name: Commit changes
uses: EndBug/add-and-commit@v7.4.0
with:
default_author: github_actions
pull: '--ff'