-
-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automated Snapshot release on each master push/merge. Added libnx as …
…gut submodule. (#84) * Adding libnx as submodule, first step. * added automated deployment for current master snapshot
- Loading branch information
Showing
3 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "libs/libnx"] | ||
path = libs/libnx | ||
url = [email protected]:switchbrew/libnx.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,37 @@ | ||
sudo: required | ||
|
||
language: cpp | ||
|
||
cache: | ||
directories: | ||
- /opt/devkitpro/pacman/var/cache/pacman/pkg/ | ||
|
||
git: | ||
submodules: false | ||
|
||
before_install: | ||
- sed -i 's/[email protected]:/git:\/\/github.com\//' .gitmodules # Travis can't deal with the user 'git'... | ||
- git submodule update --init --recursive | ||
- wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb | ||
- sudo dpkg -i devkitpro-pacman.deb | ||
- sudo dkp-pacman -S switch-{dev,curl,freetype} --noconfirm | ||
- sudo git clone https://github.com/switchbrew/libnx | ||
- sudo make install -C ./libnx | ||
- source /etc/profile.d/devkit-env.sh | ||
- sudo make install -C ./libs/libnx/nx | ||
|
||
script: | ||
- make | ||
|
||
before_deploy: | ||
- export TRAVIS_TAG=snapshot | ||
|
||
deploy: | ||
provider: releases | ||
prerelease: true | ||
api_key: $GITHUB_TOKEN | ||
file: out/EdiZon.nro | ||
skip_cleanup: true | ||
overwrite: true | ||
name: "Snapshot Build" | ||
body: "This build could be unstable, you may install and use it at your own risk." | ||
on: | ||
branch: master |
6970154
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please delete this. libnx should not be used as a submodule. Users should use the latest stable packages available through devkitPro pacman.