-
Notifications
You must be signed in to change notification settings - Fork 57
/
appveyor.yml
30 lines (24 loc) · 1008 Bytes
/
appveyor.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
version: 1.0.{build}
branches:
only:
- master
skip_tags: true
image: Ubuntu2204
install:
- sh: >-
sudo dpkg --add-architecture i386
sudo apt update
dpkg-checkbuilddeps 2>&1 | sed 's/dpkg-checkbuilddeps:\serror:\sUnmet build dependencies: //g' | sed 's/[\(][^)]*[\)] //g' | sed 's/|//g' | xargs -n 1 sudo apt install -y
sudo apt install --yes gcc-11 gcc-11-multilib g++-11 g++-11-multilib libc6-dev-i386 libx11-6:i386 libx11-dev:i386 libx11-xcb1:i386 libx11-xcb-dev:i386 libxcb-randr0-dev:i386 libasound2:i386 libasound2-dev:i386 libavutil56:i386 libavutil-dev:i386 libswresample3:i386 libswresample-dev:i386
sudo ln -f -s /usr/bin/gcc-11 /usr/bin/gcc
sudo ln -f -s /usr/bin/g++-11 /usr/bin/g++
build_script:
- sh: sudo dpkg-buildpackage -us -uc -b
after_build:
- sh: sudo mv ../libtas*deb ./
- sh: for f in libtas*deb; do mv $f ${f/_amd/_${APPVEYOR_REPO_COMMIT:0:7}_amd}; done;
artifacts:
- path: libtas*.deb
name: libtas
- path: libtas-dbgsym*.ddeb
name: libtas-dbgsym