mirror of
https://github.com/DigitalDevices/pvr.octonet.git
synced 2025-03-01 10:53:09 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
419998ff98 | ||
|
|
2ff3523183 | ||
|
|
bf39731a50 | ||
|
|
f62c9b9cd5 | ||
|
|
656912b9f1 | ||
|
|
39dc489001 |
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
@@ -11,17 +11,10 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- name: "Debian package test"
|
- name: "Debian package test"
|
||||||
os: ubuntu-18.04
|
os: ubuntu-latest
|
||||||
CC: gcc
|
CC: gcc
|
||||||
CXX: g++
|
CXX: g++
|
||||||
DEBIAN_BUILD: true
|
DEBIAN_BUILD: true
|
||||||
- os: ubuntu-18.04
|
|
||||||
CC: gcc
|
|
||||||
CXX: g++
|
|
||||||
- os: ubuntu-18.04
|
|
||||||
CC: clang
|
|
||||||
CXX: clang++
|
|
||||||
- os: macos-10.15
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install needed ubuntu depends
|
- name: Install needed ubuntu depends
|
||||||
env:
|
env:
|
||||||
@@ -31,13 +24,13 @@ jobs:
|
|||||||
if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get update; fi
|
if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get update; fi
|
||||||
if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get install fakeroot; fi
|
if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get install fakeroot; fi
|
||||||
- name: Checkout Kodi repo
|
- name: Checkout Kodi repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: xbmc/xbmc
|
repository: xbmc/xbmc
|
||||||
ref: master
|
ref: Nexus
|
||||||
path: xbmc
|
path: xbmc
|
||||||
- name: Checkout pvr.argustv repo
|
- name: Checkout add-on repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: ${{ env.app_id }}
|
path: ${{ env.app_id }}
|
||||||
- name: Configure
|
- name: Configure
|
||||||
@@ -48,7 +41,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if [[ $DEBIAN_BUILD != true ]]; then cd ${app_id} && mkdir -p build && cd build; fi
|
if [[ $DEBIAN_BUILD != true ]]; then cd ${app_id} && mkdir -p build && cd build; fi
|
||||||
if [[ $DEBIAN_BUILD != true ]]; then cmake -DADDONS_TO_BUILD=${app_id} -DADDON_SRC_PREFIX=${{ github.workspace }} -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/xbmc/addons -DPACKAGE_ZIP=1 ${{ github.workspace }}/xbmc/cmake/addons; fi
|
if [[ $DEBIAN_BUILD != true ]]; then cmake -DADDONS_TO_BUILD=${app_id} -DADDON_SRC_PREFIX=${{ github.workspace }} -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/xbmc/addons -DPACKAGE_ZIP=1 ${{ github.workspace }}/xbmc/cmake/addons; fi
|
||||||
if [[ $DEBIAN_BUILD == true ]]; then wget https://raw.githubusercontent.com/xbmc/xbmc/master/xbmc/addons/kodi-dev-kit/tools/debian-addon-package-test.sh && chmod +x ./debian-addon-package-test.sh; fi
|
if [[ $DEBIAN_BUILD == true ]]; then wget https://raw.githubusercontent.com/xbmc/xbmc/Nexus/xbmc/addons/kodi-dev-kit/tools/debian-addon-package-test.sh && chmod +x ./debian-addon-package-test.sh; fi
|
||||||
if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get build-dep ${{ github.workspace }}/${app_id}; fi
|
if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get build-dep ${{ github.workspace }}/${app_id}; fi
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
|
|||||||
28
.github/workflows/changelog-and-release.yml
vendored
28
.github/workflows/changelog-and-release.yml
vendored
@@ -39,28 +39,29 @@ jobs:
|
|||||||
|
|
||||||
# Checkout the current repository into a directory (repositories name)
|
# Checkout the current repository into a directory (repositories name)
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
path: ${{ github.event.repository.name }}
|
path: ${{ github.event.repository.name }}
|
||||||
|
|
||||||
# Checkout the required scripts from kodi-pvr/pvr-scripts into the 'scripts' directory
|
# Checkout the required scripts from xbmc/binary-addon-scripts into the 'scripts' directory
|
||||||
- name: Checkout Scripts
|
- name: Checkout Scripts
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
repository: kodi-pvr/pvr-scripts
|
repository: xbmc/binary-addon-scripts
|
||||||
path: scripts
|
path: scripts
|
||||||
|
|
||||||
# Install all dependencies required by the following steps
|
# Install all dependencies required by the following steps
|
||||||
# - libxml2-utils, xmlstarlet: reading news and version from addon.xml.in
|
# - libxml2-utils, xmlstarlet: reading news and version from addon.xml.in
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
sudo apt-get install libxml2-utils xmlstarlet
|
sudo apt-get install libxml2-utils xmlstarlet
|
||||||
|
|
||||||
# Setup python version 3.9
|
# Setup python version 3.9
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.9'
|
python-version: '3.9'
|
||||||
|
|
||||||
@@ -84,6 +85,7 @@ jobs:
|
|||||||
# - steps.required-variables.outputs.version: version element from addon.xml.in
|
# - steps.required-variables.outputs.version: version element from addon.xml.in
|
||||||
# - steps.required-variables.outputs.branch: branch of the triggering ref
|
# - steps.required-variables.outputs.branch: branch of the triggering ref
|
||||||
# - steps.required-variables.outputs.today: today's date in format '%Y-%m-%d'
|
# - steps.required-variables.outputs.today: today's date in format '%Y-%m-%d'
|
||||||
|
# Note: we use a random EOF for 'changes' as is best practice for for multiline variables
|
||||||
- name: Get required variables
|
- name: Get required variables
|
||||||
id: required-variables
|
id: required-variables
|
||||||
run: |
|
run: |
|
||||||
@@ -92,17 +94,15 @@ jobs:
|
|||||||
then
|
then
|
||||||
changes=$(xmlstarlet fo -R "$(find . -name addon.xml.in)" | xmlstarlet sel -t -v 'string(/addon/extension/news)' | awk -v RS= 'NR==1')
|
changes=$(xmlstarlet fo -R "$(find . -name addon.xml.in)" | xmlstarlet sel -t -v 'string(/addon/extension/news)' | awk -v RS= 'NR==1')
|
||||||
fi
|
fi
|
||||||
changes="${changes//'%'/'%25'}"
|
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
|
||||||
changes="${changes//$'\n'/'%0A'}"
|
echo "changes<<$EOF" >> $GITHUB_OUTPUT
|
||||||
changes="${changes//$'\r'/'%0D'}"
|
echo "$changes" >> $GITHUB_OUTPUT
|
||||||
changes="${changes//$'\\n'/'%0A'}"
|
echo "$EOF" >> $GITHUB_OUTPUT
|
||||||
changes="${changes//$'\\r'/'%0D'}"
|
|
||||||
echo ::set-output name=changes::$changes
|
|
||||||
version=$(xmlstarlet fo -R "$(find . -name addon.xml.in)" | xmlstarlet sel -t -v 'string(/addon/@version)')
|
version=$(xmlstarlet fo -R "$(find . -name addon.xml.in)" | xmlstarlet sel -t -v 'string(/addon/@version)')
|
||||||
echo ::set-output name=version::$version
|
echo "version=$version" >> $GITHUB_OUTPUT
|
||||||
branch=$(echo ${GITHUB_REF#refs/heads/})
|
branch=$(echo ${GITHUB_REF#refs/heads/})
|
||||||
echo ::set-output name=branch::$branch
|
echo "branch=$branch" >> $GITHUB_OUTPUT
|
||||||
echo ::set-output name=today::$(date +'%Y-%m-%d')
|
echo "today=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
|
||||||
working-directory: ${{ github.event.repository.name }}
|
working-directory: ${{ github.event.repository.name }}
|
||||||
|
|
||||||
# Create a commit of the incremented version and changelog, news changes
|
# Create a commit of the incremented version and changelog, news changes
|
||||||
|
|||||||
9
.github/workflows/increment-version.yml
vendored
9
.github/workflows/increment-version.yml
vendored
@@ -15,20 +15,20 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
path: ${{ github.event.repository.name }}
|
path: ${{ github.event.repository.name }}
|
||||||
|
|
||||||
- name: Checkout Scripts
|
- name: Checkout Scripts
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
repository: xbmc/weblate-supplementary-scripts
|
repository: xbmc/weblate-supplementary-scripts
|
||||||
path: scripts
|
path: scripts
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.9'
|
python-version: '3.9'
|
||||||
|
|
||||||
@@ -42,13 +42,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
sudo apt-get install libxml2-utils xmlstarlet
|
sudo apt-get install libxml2-utils xmlstarlet
|
||||||
|
|
||||||
- name: Get required variables
|
- name: Get required variables
|
||||||
id: required-variables
|
id: required-variables
|
||||||
run: |
|
run: |
|
||||||
version=$(xmlstarlet fo -R "$(find . -name addon.xml.in)" | xmlstarlet sel -t -v 'string(/addon/@version)')
|
version=$(xmlstarlet fo -R "$(find . -name addon.xml.in)" | xmlstarlet sel -t -v 'string(/addon/@version)')
|
||||||
echo ::set-output name=version::$version
|
echo "version=$version" >> $GITHUB_OUTPUT
|
||||||
working-directory: ${{ github.event.repository.name }}
|
working-directory: ${{ github.event.repository.name }}
|
||||||
|
|
||||||
- name: Create PR for incrementing add-on versions
|
- name: Create PR for incrementing add-on versions
|
||||||
|
|||||||
18
.github/workflows/release.yml
vendored
18
.github/workflows/release.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
|||||||
|
|
||||||
# Checkout the current repository into a directory (repositories name)
|
# Checkout the current repository into a directory (repositories name)
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
path: ${{ github.event.repository.name }}
|
path: ${{ github.event.repository.name }}
|
||||||
@@ -23,12 +23,14 @@ jobs:
|
|||||||
# - libxml2-utils, xmlstarlet: reading news and version from addon.xml.in
|
# - libxml2-utils, xmlstarlet: reading news and version from addon.xml.in
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
sudo apt-get install libxml2-utils xmlstarlet
|
sudo apt-get install libxml2-utils xmlstarlet
|
||||||
|
|
||||||
# Create the variables required by the following steps
|
# Create the variables required by the following steps
|
||||||
# - steps.required-variables.outputs.changes: latest entry in the changelog.txt (if exists), or addon.xml.in news element
|
# - steps.required-variables.outputs.changes: latest entry in the changelog.txt (if exists), or addon.xml.in news element
|
||||||
# - steps.required-variables.outputs.version: version element from addon.xml.in
|
# - steps.required-variables.outputs.version: version element from addon.xml.in
|
||||||
# - steps.required-variables.outputs.branch: branch of the triggering ref
|
# - steps.required-variables.outputs.branch: branch of the triggering ref
|
||||||
|
# Note: we use a random EOF for 'changes' as is best practice for for multiline variables
|
||||||
- name: Get required variables
|
- name: Get required variables
|
||||||
id: required-variables
|
id: required-variables
|
||||||
run: |
|
run: |
|
||||||
@@ -37,16 +39,14 @@ jobs:
|
|||||||
then
|
then
|
||||||
changes=$(xmlstarlet fo -R "$(find . -name addon.xml.in)" | xmlstarlet sel -t -v 'string(/addon/extension/news)' | awk -v RS= 'NR==1')
|
changes=$(xmlstarlet fo -R "$(find . -name addon.xml.in)" | xmlstarlet sel -t -v 'string(/addon/extension/news)' | awk -v RS= 'NR==1')
|
||||||
fi
|
fi
|
||||||
changes="${changes//'%'/'%25'}"
|
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
|
||||||
changes="${changes//$'\n'/'%0A'}"
|
echo "changes<<$EOF" >> $GITHUB_OUTPUT
|
||||||
changes="${changes//$'\r'/'%0D'}"
|
echo "$changes" >> $GITHUB_OUTPUT
|
||||||
changes="${changes//$'\\n'/'%0A'}"
|
echo "$EOF" >> $GITHUB_OUTPUT
|
||||||
changes="${changes//$'\\r'/'%0D'}"
|
|
||||||
echo ::set-output name=changes::$changes
|
|
||||||
version=$(xmlstarlet fo -R "$(find . -name addon.xml.in)" | xmlstarlet sel -t -v 'string(/addon/@version)')
|
version=$(xmlstarlet fo -R "$(find . -name addon.xml.in)" | xmlstarlet sel -t -v 'string(/addon/@version)')
|
||||||
echo ::set-output name=version::$version
|
echo "version=$version" >> $GITHUB_OUTPUT
|
||||||
branch=$(echo ${GITHUB_REF#refs/heads/})
|
branch=$(echo ${GITHUB_REF#refs/heads/})
|
||||||
echo ::set-output name=branch::$branch
|
echo "branch=$branch" >> $GITHUB_OUTPUT
|
||||||
working-directory: ${{ github.event.repository.name }}
|
working-directory: ${{ github.event.repository.name }}
|
||||||
|
|
||||||
# Create a release at {steps.required-variables.outputs.branch}
|
# Create a release at {steps.required-variables.outputs.branch}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
default:
|
default:
|
||||||
if: github.repository == 'DigitalDevices/pvr.octonet'
|
if: github.repository == 'kodi-pvr/pvr.octonet'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
@@ -21,18 +21,18 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: project
|
path: project
|
||||||
|
|
||||||
- name: Checkout sync_addon_metadata_translations repository
|
- name: Checkout sync_addon_metadata_translations repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: xbmc/sync_addon_metadata_translations
|
repository: xbmc/sync_addon_metadata_translations
|
||||||
path: sync_addon_metadata_translations
|
path: sync_addon_metadata_translations
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
@@ -55,3 +55,4 @@ jobs:
|
|||||||
branch: amt-sync
|
branch: amt-sync
|
||||||
delete-branch: true
|
delete-branch: true
|
||||||
path: ./project
|
path: ./project
|
||||||
|
reviewers: gade01
|
||||||
|
|||||||
54
.travis.yml
54
.travis.yml
@@ -1,54 +0,0 @@
|
|||||||
language: cpp
|
|
||||||
|
|
||||||
#
|
|
||||||
# Define the builds to get up to date versions of cmake and gcc
|
|
||||||
#
|
|
||||||
env:
|
|
||||||
global:
|
|
||||||
- app_id=pvr.octonet
|
|
||||||
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- os: linux
|
|
||||||
dist: bionic
|
|
||||||
sudo: required
|
|
||||||
compiler: gcc
|
|
||||||
- os: linux
|
|
||||||
dist: bionic
|
|
||||||
sudo: required
|
|
||||||
compiler: clang
|
|
||||||
- os: linux
|
|
||||||
dist: bionic
|
|
||||||
sudo: required
|
|
||||||
compiler: gcc
|
|
||||||
env: DEBIAN_BUILD=true
|
|
||||||
- os: linux
|
|
||||||
dist: focal
|
|
||||||
sudo: required
|
|
||||||
compiler: gcc
|
|
||||||
env: DEBIAN_BUILD=true
|
|
||||||
- os: osx
|
|
||||||
osx_image: xcode10.2
|
|
||||||
|
|
||||||
before_install:
|
|
||||||
- if [[ $DEBIAN_BUILD == true ]]; then sudo add-apt-repository -y ppa:team-xbmc/xbmc-nightly; fi
|
|
||||||
- if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get update; fi
|
|
||||||
- if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get install fakeroot; fi
|
|
||||||
|
|
||||||
#
|
|
||||||
# The addon source is automatically checked out in $TRAVIS_BUILD_DIR,
|
|
||||||
# we'll put the Kodi source on the same level
|
|
||||||
#
|
|
||||||
before_script:
|
|
||||||
- if [[ $DEBIAN_BUILD != true ]]; then cd $TRAVIS_BUILD_DIR/..; fi
|
|
||||||
- if [[ $DEBIAN_BUILD != true ]]; then git clone --branch master --depth=1 https://github.com/xbmc/xbmc.git; fi
|
|
||||||
- if [[ $DEBIAN_BUILD != true ]]; then cd ${app_id} && mkdir build && cd build; fi
|
|
||||||
- if [[ $DEBIAN_BUILD != true ]]; then mkdir -p definition/${app_id}; fi
|
|
||||||
- if [[ $DEBIAN_BUILD != true ]]; then echo ${app_id} $TRAVIS_BUILD_DIR $TRAVIS_COMMIT > definition/${app_id}/${app_id}.txt; fi
|
|
||||||
- if [[ $DEBIAN_BUILD != true ]]; then cmake -DADDONS_TO_BUILD=${app_id} -DADDON_SRC_PREFIX=$TRAVIS_BUILD_DIR/.. -DADDONS_DEFINITION_DIR=$TRAVIS_BUILD_DIR/build/definition -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$TRAVIS_BUILD_DIR/../xbmc/addons -DPACKAGE_ZIP=1 $TRAVIS_BUILD_DIR/../xbmc/cmake/addons; fi
|
|
||||||
- if [[ $DEBIAN_BUILD == true ]]; then wget https://raw.githubusercontent.com/xbmc/xbmc/master/xbmc/addons/kodi-dev-kit/tools/debian-addon-package-test.sh && chmod +x ./debian-addon-package-test.sh; fi
|
|
||||||
- if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get build-dep $TRAVIS_BUILD_DIR; fi
|
|
||||||
|
|
||||||
script:
|
|
||||||
- if [[ $DEBIAN_BUILD != true ]]; then make; fi
|
|
||||||
- if [[ $DEBIAN_BUILD == true ]]; then ./debian-addon-package-test.sh $TRAVIS_BUILD_DIR; fi
|
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
# Octonet PVR
|
# Octonet PVR
|
||||||
Digital Devices [Octonet](http://www.digital-devices.eu/shop/de/netzwerk-tv/) PVR client addon for [Kodi](http://kodi.tv)
|
Digital Devices [Octonet](http://www.digital-devices.eu/shop/de/netzwerk-tv/) PVR client addon for [Kodi](http://kodi.tv)
|
||||||
|
|
||||||
| Platform | Status |
|
[](LICENSE.md)
|
||||||
|----------|--------|
|
[](https://github.com/DigitalDevices/pvr.octonet/actions/workflows/build.yml)
|
||||||
| Linux + OS X (github) | [](https://github.com/kodi-pvr/pvr.octonet/actions/workflows/build.yml) |
|
[](https://jenkins.kodi.tv/blue/organizations/jenkins/DigitalDevices%2Fpvr.octonet/branches/)
|
||||||
| Windows (AppVeyor) | [](https://ci.appveyor.com/project/julianscheel/pvr-octonet) |
|
|
||||||
|
|
||||||
# Building
|
# Building
|
||||||
|
|
||||||
|
|||||||
33
appveyor.yml
33
appveyor.yml
@@ -1,33 +0,0 @@
|
|||||||
version: BuildNr.{build}
|
|
||||||
|
|
||||||
image: Visual Studio 2017
|
|
||||||
|
|
||||||
shallow_clone: true
|
|
||||||
|
|
||||||
clone_folder: c:\projects\pvr.octonet
|
|
||||||
|
|
||||||
environment:
|
|
||||||
app_id: pvr.octonet
|
|
||||||
|
|
||||||
matrix:
|
|
||||||
- GENERATOR: "Visual Studio 15"
|
|
||||||
CONFIG: Release
|
|
||||||
- GENERATOR: "Visual Studio 15 Win64"
|
|
||||||
CONFIG: Release
|
|
||||||
- GENERATOR: "Visual Studio 15 Win64"
|
|
||||||
CONFIG: Release
|
|
||||||
WINSTORE: -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0.17763.0"
|
|
||||||
- GENERATOR: "Visual Studio 15 ARM"
|
|
||||||
CONFIG: Release
|
|
||||||
WINSTORE: -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0.17763.0"
|
|
||||||
|
|
||||||
build_script:
|
|
||||||
- cd ..
|
|
||||||
- git clone --branch master --depth=1 https://github.com/xbmc/xbmc.git
|
|
||||||
- cd %app_id%
|
|
||||||
- mkdir build
|
|
||||||
- cd build
|
|
||||||
- mkdir -p definition\%app_id%
|
|
||||||
- echo %app_id% %APPVEYOR_BUILD_FOLDER% %APPVEYOR_REPO_COMMIT% > definition\%app_id%\%app_id%.txt
|
|
||||||
- cmake -T host=x64 -G "%GENERATOR%" %WINSTORE% -DADDONS_TO_BUILD=%app_id% -DCMAKE_BUILD_TYPE=%CONFIG% -DADDONS_DEFINITION_DIR=%APPVEYOR_BUILD_FOLDER%/build/definition -DADDON_SRC_PREFIX=../.. -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/cmake/addons
|
|
||||||
- cmake --build . --config %CONFIG% --target %app_id%
|
|
||||||
Reference in New Issue
Block a user