Skip to content
This repository has been archived by the owner on Apr 5, 2021. It is now read-only.

Commit

Permalink
Fix Azure Pipelines (#53)
Browse files Browse the repository at this point in the history
* Update azure-pipelines.yml

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* try a thing

* E

* oops

* almost there (i think)

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Add back the webhook

* me spel gud

* no travis CI *at all*

* badge
  • Loading branch information
FlameAlt53 authored and RocketRobz committed Apr 12, 2019
1 parent 84728b6 commit 9ae8c4d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 104 deletions.
91 changes: 0 additions & 91 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# TWiLightMenu-Updater [![Build Status](https://travis-ci.org/RocketRobz/TWiLightMenu-Updater.svg?branch=master)](https://travis-ci.org/RocketRobz/TWiLightMenu-Updater)
# TWiLightMenu-Updater [![Build Status](https://dev.azure.com/DS-Homebrew/Builds/_apis/build/status/RocketRobz.TWiLightMenu-Updater?branchName=master)](https://dev.azure.com/DS-Homebrew/Builds/_build?definitionId=15)
TWiLightMenu Updater is an open-source updater for TWiLightMenu++

# Links
Expand Down
18 changes: 6 additions & 12 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger:
branches:
include:
Expand All @@ -26,10 +21,11 @@ steps:
sudo dpkg -i pacman.deb
sudo dkp-pacman -Sy
sudo dkp-pacman -S 3ds-dev --noconfirm
sudo dkp-pacman -S 3ds-curl 3ds-libarchive 3ds-liblzma 3ds-mbedtls 3ds-bzip2 3ds-zlib
sudo dkp-pacman -S 3ds-curl 3ds-libarchive 3ds-liblzma 3ds-mbedtls 3ds-bzip2 3ds-zlib --noconfirm
sudo 7z x libctru.7z -o/opt/devkitpro/ -y
curl -L https://github.com/Steveice10/bannertool/releases/download/1.1.0/bannertool.zip -o bannertool.zip
sudo 7z e bannertool.zip linux-x86_64/bannertool
sudo chmod +x bannertool
rm bannertool.zip
curl -L https://github.com/profi200/Project_CTR/releases/download/0.15/makerom_015_ctrtool.zip -o makerom_015_ctrtool.zip
sudo 7z e makerom_015_ctrtool.zip Linux_x86_64/makerom
Expand All @@ -38,11 +34,10 @@ steps:
displayName: 'Setup devkitPro'

- script: |
export PATH=$PATH:$(pwd)
export DEVKITPRO="/opt/devkitpro"
export DEVKITARM="/opt/devkitpro/devkitARM"
make
qrencode -o TWiLight_Menu++_Updater.png https://github.com/TWLBot/Builds/releases/download/v$CURRENT_DATE/TWiLight_Menu++_Updater.cia
export IMAGE=https://raw.githubusercontent.com/TWLBot/Builds/v$CURRENT_DATE/TWiLightMenu%20Updater/TWiLight_Menu%2B%2B_Updater.png
displayName: 'Build TWiLightMenu-Updater'

- script: |
Expand All @@ -54,7 +49,6 @@ steps:
cd Builds/TWiLightMenu\ Updater/
cp ../../TWiLight_Menu++_Updater.3dsx TWiLight_Menu++_Updater.3dsx
cp ../../TWiLight_Menu++_Updater.cia TWiLight_Menu++_Updater.cia
cp ../../TWiLight_Menu++_Updater.png TWiLight_Menu++_Updater.png
git stage .
git commit -m "TWiLightMenu-Updater | $(COMMIT_TAG)"
git push origin master
Expand All @@ -71,13 +65,13 @@ steps:
target: $(TWLBOT_COMMIT)
tagSource: 'manual'
tag: v$(CURRENT_DATE)
title: nds-bootstrap | $(COMMIT_TAG)
title: TWiLightMenu-Updater | $(COMMIT_TAG)
releaseNotesSource: input
releaseNotes: $(COMMIT_MESSAGE)
assets: '$(Build.ArtifactStagingDirectory)/*'
isPreRelease: true
addChangeLog: false

- script: |
curl -o send.sh https://raw.githubusercontent.com/DS-Homebrew/discord-webhooks/master/send-azure.sh
chmod +x send.sh
Expand All @@ -90,4 +84,4 @@ steps:
chmod +x send.sh
./send.sh failure $WEBHOOK_URL
condition: failed()
displayName: 'Send failure webhook'
displayName: 'Send failure webhook'

0 comments on commit 9ae8c4d

Please sign in to comment.