This repository has been archived by the owner on Jul 10, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 345
/
wercker.yml
41 lines (39 loc) · 1.96 KB
/
wercker.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
box: ubuntu:18.04
build:
steps:
- script:
name: install-dependencies
code: |
sudo dpkg --add-architecture i386 && \
sudo apt-get clean && sudo apt-get update && \
sudo apt-get install -y build-essential pkgconf libasound2-dev libgl1-mesa-dev libx11-dev libudev-dev git && \
sudo apt-get install -y libasound2-dev:i386 libgl1-mesa-dev:i386 libx11-dev:i386 libudev-dev:i386 libc6:i386 g++-multilib gcc-multilib && \
sudo apt-get install -y g++-mingw-w64-x86-64 mingw-w64-x86-64-dev libz-mingw-w64-dev libnpth-mingw-w64-dev && \
sudo apt-get install -y cmake ninja-build
- script:
name: toolchain info
code: gcc --version && x86_64-w64-mingw32-gcc --version
- script:
name: reicast Linux x64 cmake
code: mkdir build-standalone && cd build-standalone && cmake .. -G Ninja && ninja
- script:
name: reicast Linux x64 cmake libretro
code: mkdir build-libretro && cd build-libretro && cmake .. -DLIBRETRO_CORE=ON -G Ninja && ninja
- script:
name: reicast Linux x64 build
code: make -C reicast/linux -j `nproc` platform=x64
- script:
name: reicast Linux naomi x64 build
code: make -C reicast/linux -j `nproc` platform=x64 NAOMI=1
- script:
name: reicast Linux x86 build
code: make -C reicast/linux -j `nproc` platform=x86
- script:
name: reicast Windows x64 (MinGW) build
code: make -C reicast/linux -j `nproc` platform=win32 CC_PREFIX=x86_64-w64-mingw32-
- script:
name: reicast Linux x64 (No Exceptions) build
code: make -C reicast/linux -j `nproc` platform="x64 noexceptions"
- script:
name: reicast Linux x64 (No RWX pages) build
code: make -C reicast/linux -j `nproc` platform="x64 norwxpages"