2018-01-19 20:55:39 -06:00
|
|
|
version: 1.0.{build}
|
2020-05-24 23:11:53 +03:00
|
|
|
image:
|
|
|
|
- Visual Studio 2017
|
|
|
|
- Ubuntu
|
2018-01-19 20:55:39 -06:00
|
|
|
configuration: Release
|
2020-05-24 23:11:53 +03: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-25 18:59:33 -07:00
|
|
|
- sudo apt-get update
|
2020-05-27 22:59:51 +03:00
|
|
|
- sudo apt-get install -y libmpg123-dev libvorbis-dev libavformat-dev libavcodec-dev libavutil-dev libswresample-dev
|
2020-05-24 23:11:53 +03: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
|