From 8675ad1425578ccad4ea6db1bb5335e770801562 Mon Sep 17 00:00:00 2001 From: Rinnegatamante Date: Sat, 2 May 2020 10:34:28 +0200 Subject: [PATCH 1/3] Set up automated nightlies build with Azure Pipelines [skip ci] --- azure-pipelines.yml | 57 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000..0f21f464 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,57 @@ +# https://aka.ms/yaml + +trigger: +- master + +pool: + vmImage: 'ubuntu-latest' + +container: gnuton/vitasdk-docker:latest + +steps: +- script: sudo apt-get install -qq -y pkg-config + displayName: 'Install extra dependencies' + +- script: sudo apt-get install -qq -y libc6-dev-i386 + displayName: 'Install 32 bit libraries' + +- script: | + git clone https://github.com/Rinnegatamante/math-neon + cd math-neon + make + sudo -E make install + displayName: 'Build libmathneon' + +- script: | + git clone https://github.com/Rinnegatamante/vitaGL + cd vitaGL + make HAVE_SBRK=1 + sudo -E make HAVE_SBRK=1 install + displayName: 'Build vitaGL' + +- script: | + git clone https://github.com/Rinnegatamante/imgui-vita + cd imgui-vita + make + sudo -E make install + displayName: 'Build dear ImGui' + +- script: | + mkdir daedbuild + cd daedbuild + cmake -DVITA_RELEASE=1 ../Source -DCMAKE_TOOLCHAIN_FILE=../vita.toolchain.make -G "Unix Makefiles" + make -j$(nproc) + displayName: 'Build Daedalus X64' + +- task: GitHubRelease@0 + inputs: + gitHubConnection: release + repositoryName: Rinnegatamante/DaedalusX64-vitaGL + tagSource: manual + tag: Nightly + action: edit + assets: | + eboot_safe.bin + eboot_unsafe.bin + displayName: 'Deploy artifacts' + From 33627ed3adf443e9455c6e75491c70ef0baa37ca Mon Sep 17 00:00:00 2001 From: Rinnegatamante Date: Sat, 2 May 2020 10:40:35 +0200 Subject: [PATCH 2/3] Added Azure Pipelines build status. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5b88dbb3..1e57ae43 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# DaedalusX64-vitaGL +# DaedalusX64-vitaGL [![Build Status](https://dev.azure.com/rinnegatamante/Daedalus%20X64/_apis/build/status/Rinnegatamante.DaedalusX64-vitaGL?branchName=master)](https://dev.azure.com/rinnegatamante/Daedalus%20X64/_build/latest?definitionId=2&branchName=master) Daedalus X64 is a Nintendo 64 emulator originally for Linux and PSP. This repository is the official one for the PSVITA/PSTV port using vitaGL as renderer. From ce36483a3d3efe8d13bdd68c7d771e91c78c7b2c Mon Sep 17 00:00:00 2001 From: Rinnegatamante Date: Sat, 2 May 2020 11:24:02 +0200 Subject: [PATCH 3/3] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0f21f464..575cd542 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -32,14 +32,14 @@ steps: - script: | git clone https://github.com/Rinnegatamante/imgui-vita cd imgui-vita - make + make -j$(nproc) sudo -E make install displayName: 'Build dear ImGui' - script: | mkdir daedbuild cd daedbuild - cmake -DVITA_RELEASE=1 ../Source -DCMAKE_TOOLCHAIN_FILE=../vita.toolchain.make -G "Unix Makefiles" + cmake -DVITA_RELEASE=1 ../Source -DCMAKE_TOOLCHAIN_FILE=$VITASDK/share/vita.toolchain.cmake make -j$(nproc) displayName: 'Build Daedalus X64'