-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* build against libdragon unstable * remove libPng * Fix build warnings * Add remote deploy * Switch to ubuntu latest image * Improve readme
- Loading branch information
1 parent
8adc056
commit 029e1cf
Showing
11 changed files
with
79 additions
and
37 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
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 +1,3 @@ | ||
* text=auto eol=crlf | ||
* text=auto eol=crlf | ||
# These are all bash scripts and should use lf | ||
*.sh text eol=lf |
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 |
---|---|---|
|
@@ -11,13 +11,6 @@ on: | |
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
# container: | ||
# image: ../Dockerfile | ||
# # credentials: | ||
# # username: ${{ github.actor }} | ||
# # password: ${{ secrets.github_token }} | ||
# volumes: | ||
# - my_docker_volume:/volume_mount | ||
|
||
steps: | ||
|
||
|
@@ -26,7 +19,7 @@ jobs: | |
|
||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
submodules: recursive | ||
fetch-depth: 1 # we only require the last check-in, unless we want to create a changelog. | ||
|
||
- name: Login to GitHub Container Registry | ||
|
@@ -36,18 +29,6 @@ jobs: | |
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
# - name: Build libdragon | ||
# run: | | ||
# cd ./libdragon | ||
# # FIXME: this currently also builds the examples which adds to the build time. | ||
# # ./build.sh | ||
# # WORKAROUND: for CI | ||
# make -j libdragon | ||
# make install | ||
# make -j tools | ||
# make tools-install | ||
# make install-mk | ||
|
||
- name: Build N64FlashcartMenu ROM | ||
uses: devcontainers/[email protected] | ||
with: | ||
|
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,4 +1,4 @@ | ||
[submodule "libdragon"] | ||
path = libdragon | ||
url = https://github.com/DragonMinded/libdragon | ||
branch = trunk | ||
branch = unstable |
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
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
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 |
---|---|---|
|
@@ -21,3 +21,5 @@ echo !!! Now toggle power to the N64 !!! | |
echo: | ||
echo: | ||
::pause | ||
|
||
::%~dp0tools\sc64\sc64deployer debug |
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,31 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
REMOTE="--remote host.docker.internal:9064" | ||
|
||
## FIXME: this does not work! | ||
# Make sure we are connected | ||
#echo Detecting SC64... | ||
#sc64deployer $REMOTE list | ||
|
||
# Get the information | ||
echo SC64 info...: | ||
sc64deployer $REMOTE info | ||
echo | ||
echo | ||
|
||
# Load the ROM | ||
echo Loading ROM...: | ||
sc64deployer $REMOTE upload ./output/N64FlashcartMenu.z64 | ||
|
||
echo | ||
echo | ||
# Toggle the power of the N64 to boot the ROM. | ||
echo !!! Now toggle power to the N64 !!! | ||
echo | ||
echo | ||
|
||
if [ "$1" = "-d" ]; then | ||
sc64deployer $REMOTE debug | ||
fi |
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
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