Skip to content

Commit 418ed08

Browse files
authored
Merge pull request #45 from CyberShadow/overhaul
Overhaul everything
2 parents 4151906 + b5d3a2b commit 418ed08

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+11001
-4209
lines changed

.github/workflows/test.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: test
2+
on: [ push, pull_request ]
3+
4+
jobs:
5+
build:
6+
strategy:
7+
matrix:
8+
os: [ ubuntu-20.04, macos-12 ]
9+
arch: [ x86, x86_64 ]
10+
dc: [ dmd-2.100.2, ldc-1.30.0 ]
11+
exclude:
12+
# No x86 on macOS
13+
- os: macos-12
14+
arch: x86
15+
16+
runs-on: ${{ matrix.os }}
17+
steps:
18+
19+
- uses: actions/checkout@v2
20+
21+
- name: Install build dependencies (macOS)
22+
if: ${{ matrix.os == 'macos-12' }}
23+
run: brew install ncurses
24+
25+
- name: Install build dependencies (Linux/x86)
26+
if: ${{ matrix.os == 'ubuntu-20.04' && matrix.arch == 'x86' }}
27+
run: |
28+
sudo dpkg --add-architecture i386
29+
sudo apt-get update
30+
sudo apt-get install -y binutils-i686-linux-gnu gcc-multilib libncurses-dev:i386 libz-dev:i386 libtinfo-dev:i386
31+
32+
- name: Install D compiler
33+
uses: dlang-community/setup-dlang@43589c229861e1720e187a344c67dad1d9eefe4c
34+
with:
35+
compiler: ${{ matrix.dc }}
36+
37+
- name: Build examples
38+
run: |
39+
for d in $(find examples -maxdepth 1 -mindepth 1 -type d) ; do
40+
echo "=== $d ==="
41+
dub --root="$d" build --arch=${{ matrix.arch }}
42+
done
43+
44+
syntax:
45+
runs-on: ubuntu-20.04
46+
steps:
47+
- uses: actions/checkout@v2
48+
49+
- name: Install D compiler
50+
uses: dlang-community/setup-dlang@43589c229861e1720e187a344c67dad1d9eefe4c
51+
with:
52+
compiler: dmd-2.100.2
53+
54+
- name: Check syntax
55+
run: dub lint --syntax-check

.travis.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

AUTHORS

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)