mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-25 07:20:10 +01:00
48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
version: 1.0.{build}
|
|
image:
|
|
- Visual Studio 2017
|
|
- Ubuntu2004
|
|
configuration: Release
|
|
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: Ubuntu2004
|
|
init:
|
|
- sudo apt-get update
|
|
- sudo apt-get install -y libmpg123-dev libvorbis-dev libavformat-dev libavcodec-dev libavutil-dev libswresample-dev
|
|
- sudo apt-get install -y libao-dev audacious-dev libjansson-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
|