Skip to content

Commit

Permalink
Fix linking on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Temtaime committed Apr 6, 2021
1 parent a7fe85a commit 126e5e0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,46 @@ jobs:
matrix:
include:
- arch: x86
dub_arch: x86
os: windows-latest
dub_arch: x86_mscoff
dub_compiler: ldc-latest

- arch: x64
os: windows-latest
dub_arch: x86_64
dub_compiler: ldc-latest

- arch: x64
os: ubuntu-20.04
dub_arch: x86_64
dub_compiler: ldc-latest

- arch: x86
os: windows-latest
dub_arch: x86_mscoff
dub_compiler: dmd-latest

- arch: x64
os: windows-latest
dub_arch: x86_64
dub_compiler: dmd-latest

- arch: x64
os: ubuntu-20.04
dub_arch: x86_64
dub_compiler: dmd-latest

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2

- uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{ matrix.arch }}

- uses: dlang-community/setup-dlang@v1
with:
compiler: ldc-latest
compiler: ${{ matrix.dub_compiler }}

- run: |
dub test -b unittest -a ${{ matrix.dub_arch }}
2 changes: 1 addition & 1 deletion dub.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"libs-windows-x86_64": [
"$PACKAGE_DIR/bin/stb_x64"
],
"libs-linux": [
"lflags-linux": [
"$PACKAGE_DIR/bin/libstb.a"
]
}

0 comments on commit 126e5e0

Please sign in to comment.