forked from flyinghead/flycast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwercker.yml
31 lines (30 loc) · 1.07 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
box: ubuntu:18.04
build:
steps:
- script:
name: install-dependencies
code: 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 libminiupnpc-dev libzip-dev
- script:
name: gcc-version
code: gcc --version
- script:
name: flycast tests
code: make -C shell/linux UNIT_TESTS=1 tests
- script:
name: flycast x64 build
code: make -C shell/linux platform=x64
- script:
name: package app
code: |
mkdir s3
pushd shell/linux
mv -f nosym-flycast.elf flycast
gzip flycast
popd
mv shell/linux/flycast.gz s3
- s3sync:
source_dir: s3
delete-removed: false
bucket-url: s3://flycast-builds/linux/heads/$WERCKER_GIT_BRANCH-$WERCKER_GIT_COMMIT/
key-id: AKIAJOZQS4H2PHQWYFCA
key-secret: $S3_SECRET_KEY