forked from AppImage/AppImageKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (30 loc) · 1 KB
/
.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
language: c
compiler: gcc
before_install:
- sudo apt-add-repository -y ppa:vala-team/ppa
- sudo apt-get update -qq
- sudo apt-get install -qq libfuse-dev libglib2.0-dev cmake libc6-dev binutils valac libgee-0.8-dev gcc-multilib g++-multilib libc6-dev-i386
- cd ./LibcWrapGenerator
- valac --pkg gee-0.8 --pkg posix --pkg glib-2.0 --pkg gio-2.0 ./LibcWrapGenerator.vala
- sudo ./LibcWrapGenerator --target 2.7 --libdir /lib --output libcwrap.h
- sudo cp ./libcwrap.h /usr/include/
- cd -
script:
- export CC='gcc -U_FORTIFY_SOURCE -include /usr/include/libcwrap.h'
- cmake . && make
- find . -type f
before_deploy:
git fetch --tags
deploy:
provider: releases
api_key:
secure: Rtz7d+BKUnBT8D5FoE4XXCvVhRSQVdGK/c5VpI6IYuGhwmtx4RIvK78cICFPZq8k1xJm8yOuCOChX6EyElhUkYh5iPzDI/J7IiqBl+z+/V3aXx6W2PKyYLohZW3z9iomQbX2LQ6vHcZsNqQsjKZ2dW7Ja5Q9cZTFKiokMXsAERo=
skip_cleanup: true
file_glob: true
file:
- ./AppImageExtract
- ./AppRun
- ./AppImageAssistant
on:
tags: true
all_branches: true