mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-19 00:04:04 +01:00
Updated build scripts
This commit is contained in:
parent
5c76592bfd
commit
43f5b9d90c
3
.github/workflows/cmake-lx.yml
vendored
3
.github/workflows/cmake-lx.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: CMake Linux
|
||||
name: Linux build
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
@ -12,6 +12,7 @@ jobs:
|
||||
# well on Windows or Mac. You can convert this to a matrix build if you need
|
||||
# cross-platform coverage.
|
||||
# See: https://docs.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#configuring-a-build-matrix
|
||||
name: CMake, Ubuntu
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
13
.github/workflows/vs-win.yml
vendored
13
.github/workflows/vs-win.yml
vendored
@ -1,6 +1,6 @@
|
||||
# This is a basic workflow to help you get started with Actions
|
||||
|
||||
name: Windows VS 2017
|
||||
name: Windows build
|
||||
|
||||
# Controls when the action will run. Triggers the workflow on push or pull request
|
||||
# events but only for the master branch
|
||||
@ -10,6 +10,8 @@ on: [push, pull_request]
|
||||
jobs:
|
||||
# This workflow contains a single job called "build"
|
||||
build:
|
||||
name: VS 2017
|
||||
|
||||
# The type of runner that the job will run on
|
||||
runs-on: windows-2016
|
||||
|
||||
@ -26,15 +28,6 @@ jobs:
|
||||
shell: cmd
|
||||
run: powershell -ExecutionPolicy Bypass -NoProfile -File .\build.ps1 Init
|
||||
|
||||
- name: Generate Build Files for Jansson
|
||||
working-directory: ${{github.workspace}}
|
||||
shell: cmd
|
||||
run: |
|
||||
cd dependencies\jansson\
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -DJANSSON_BUILD_SHARED_LIBS=ON -DJANSSON_EXAMPLES=OFF -DJANSSON_BUILD_DOCS=OFF -G "Visual Studio 15 2017" -T "v141_xp"
|
||||
|
||||
# Runs a single command using the runners shell
|
||||
- name: Build
|
||||
shell: cmd
|
||||
|
@ -101,7 +101,7 @@ function Init
|
||||
cd dependencies\jansson\
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -DJANSSON_BUILD_SHARED_LIBS=ON -DJANSSON_EXAMPLES=OFF -DJANSSON_BUILD_DOCS=OFF -G "Visual Studio 15 2017" -T "v141_xp"
|
||||
cmake .. -DJANSSON_BUILD_SHARED_LIBS=ON -DJANSSON_EXAMPLES=OFF -DJANSSON_BUILD_DOCS=OFF -A "Win32" -T "v141_xp"
|
||||
cd ..\..\..
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user