blob: 3498d6f7f6a319ab149b7b4fd7a07285db830f22 (
plain)
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
50
51
52
53
54
55
56
|
version: 2.1
jobs:
build:
docker:
- image: ubuntu:jammy
steps:
- checkout
- run: export DEBIAN_FRONTEND=noninteractive
- run: apt-get update -qq
- run: |
env DEBIAN_FRONTEND=noninteractive \
apt-get install -y -qq \
coreutils wget tar gzip bzip2 patch cmake make binutils gcc g++ autoconf automake flex bison texinfo \
git subversion curl xz-utils osslsigncode \
binutils-mingw-w64-x86-64 gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 mingw-w64-x86-64-dev
- run: |
make deps \
WERROR=1 JOBS=4 Q= \
LOCAL_MINGW64_CC=/usr/bin/x86_64-w64-mingw32-gcc \
LOCAL_MINGW64_CXX=/usr/bin/x86_64-w64-mingw32-g++ \
LOCAL_MINGW64_RC=/usr/bin/x86_64-w64-mingw32-windres \
LOCAL_MINGW64_AR=/usr/bin/x86_64-w64-mingw32-ar \
DDK_INCLUDE_DIR=/usr/x86_64-w64-mingw32/include/ddk
- run: |
test -r EASTL-build/libEASTL.a
- run: |
make examples-install \
WERROR=1 JOBS=4 Q= \
LOCAL_MINGW64_CC=/usr/bin/x86_64-w64-mingw32-gcc \
LOCAL_MINGW64_CXX=/usr/bin/x86_64-w64-mingw32-g++ \
LOCAL_MINGW64_RC=/usr/bin/x86_64-w64-mingw32-windres \
LOCAL_MINGW64_AR=/usr/bin/x86_64-w64-mingw32-ar \
DDK_INCLUDE_DIR=/usr/x86_64-w64-mingw32/include/ddk \
DESTDIR=$(realpath _install)
- run: |
test -r _install/codesign-ca-cert.crt -a \
-r _install/dpp-example.bat -a \
-r _install/dpp-example-cplusplus.bat -a \
-r _install/dpp-example-cplusplus-EASTL.bat -a \
-r _install/dpp-example.sys -a \
-r _install/dpp-example-cplusplus.sys -a \
-r _install/dpp-example-cplusplus-EASTL.sys -a \
-r _install/dpp-example-cplusplus-EASTL.run
- run: |
./_install/dpp-example-cplusplus-EASTL.run
- run: |
wget 'https://github.com/utoni/mingw-w64-build-ng/releases/download/v1.0/mingw-w64-toolchain.tbz2' -O ./mingw-w64-toolchain.tbz2
- run: |
make examples-clean
- run: |
make deps-distclean
- run: |
make deps \
WERROR=1 JOBS=4 Q= \
USE_MINGW64_TARBALL=./mingw-w64-toolchain.tbz2
|