-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
48 lines (43 loc) · 1008 Bytes
/
.travis.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
41
42
43
44
45
46
47
48
language: cpp
matrix:
include:
- os: linux
arch: arm64
sudo: required
before_install:
- sudo apt update
- sudo apt -y install libsdl2-dev libncurses-dev
- os: linux
arch: amd64
sudo: required
before_install:
- sudo apt update
- sudo apt -y install libsdl2-dev libncurses-dev
- os: windows
arch: amd64
before_install:
- wget https://www.libsdl.org/release/SDL2-devel-2.0.10-mingw.tar.gz
- tar -xf SDL2-devel-2.0.10-mingw.tar.gz
- cd SDL2-2.0.10
- cp -r x86_64-w64-mingw32 /c/ProgramData/chocolatey/lib/mingw/tools/install/mingw64
- cd ..
- choco install make -version 4.3
- os: osx
before_install:
- brew update
- brew install sdl2
script:
- cd test
- make
- ./test
- cd ..
- make
deploy:
provider: releases
api_key: $GITHUB_OATH
file: "cosmic.exe"
skip_cleanup: true
draft: true
on:
branch: travis
tags: true