2018-01-20 03:55:39 +01:00
|
|
|
version: 1.0.{build}
|
2020-05-24 22:11:53 +02:00
|
|
|
image:
|
|
|
|
- Visual Studio 2017
|
|
|
|
- Ubuntu
|
2018-01-20 03:55:39 +01:00
|
|
|
configuration: Release
|
2020-05-24 22:11:53 +02:00
|
|
|
for:
|
|
|
|
-
|
|
|
|
matrix:
|
|
|
|
only:
|
|
|
|
- image: Visual Studio 2017
|
|
|
|
build_script:
|
|
|
|
- ps: .\build.bat
|
|
|
|
test: off
|
|
|
|
artifacts:
|
|
|
|
- path: Release/test.zip
|
|
|
|
name: test.zip
|
|
|
|
- path: Release/foo_input_vgmstream.fb2k-component
|
|
|
|
name: foo_input_vgmstream.fb2k-component
|
|
|
|
- path: Release/test.pdb.zip
|
|
|
|
name: test.pdb.zip
|
|
|
|
- path: Release/foo_input_vgmstream.pdb.zip
|
|
|
|
name: foo_input_vgmstream.pdb.zip
|
|
|
|
-
|
|
|
|
matrix:
|
|
|
|
only:
|
|
|
|
- image: Ubuntu
|
|
|
|
init:
|
2020-06-26 03:59:33 +02:00
|
|
|
- sudo apt-get update
|
2020-05-27 21:59:51 +02:00
|
|
|
- sudo apt-get install -y libmpg123-dev libvorbis-dev libavformat-dev libavcodec-dev libavutil-dev libswresample-dev
|
2020-05-24 22:11:53 +02:00
|
|
|
- sudo apt-get install -y libao-dev audacious-dev
|
|
|
|
- sudo apt-get install -y cmake
|
|
|
|
install:
|
|
|
|
- cmake .
|
|
|
|
build_script:
|
|
|
|
- make
|
|
|
|
after_build:
|
|
|
|
- cd cli
|
|
|
|
- tar cvfz vgmstream-cli.tar.gz vgmstream_cli vgmstream123
|
|
|
|
- cd ../audacious
|
|
|
|
- tar cvfz vgmstream-audacious.tar.gz vgmstream.so
|
|
|
|
- cd ..
|
|
|
|
test: off
|
|
|
|
artifacts:
|
|
|
|
- path: cli/vgmstream-cli.tar.gz
|
|
|
|
name: vgmstream-cli.tar.gz
|
|
|
|
- path: audacious/vgmstream-audacious.tar.gz
|
|
|
|
name: vgmstream-audacious.tar.gz
|