mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2024-12-25 01:31:51 +01:00
Remove tests from dev container
This commit is contained in:
parent
808b6794c6
commit
d43d367664
@ -1,10 +1,15 @@
|
||||
FROM ghcr.io/n64-tools/gcc-toolchain-mips64:latest
|
||||
|
||||
RUN apt-get update && apt-get install -y python3 python3-serial python3-pil
|
||||
RUN apt-get update && \
|
||||
apt-get install -y \
|
||||
python3 \
|
||||
python3-serial \
|
||||
python3-pil
|
||||
|
||||
RUN mkdir -p /etc/udev/rules.d
|
||||
RUN echo 'KERNEL=="ttyUSB[0-9]*",MODE="0666' > /etc/udev/rules.d/99-serial.rules
|
||||
RUN SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=/commandhistory/.bash_history" \
|
||||
&& echo "$SNIPPET" >> "/root/.bashrc"
|
||||
|
||||
# TODO: Really we want to use the sub module in /workspaces/N64FlashcartMenu/libdragon
|
||||
RUN git clone --branch trunk https://github.com/dragonminded/libdragon.git --depth 1 ./sources/libdragon
|
||||
|
||||
RUN cd ./sources/libdragon && \
|
||||
|
@ -3,19 +3,12 @@
|
||||
// If you prefer, you can use the source files and adjust them they are located, with the same names in ./sources. This will alow you to customize them and add anything you may need on top.
|
||||
"dockerFile": "Dockerfile",
|
||||
"runArgs": [
|
||||
"--cap-add=SYS_PTRACE",
|
||||
"--security-opt",
|
||||
"seccomp=unconfined",
|
||||
"--privileged"
|
||||
],
|
||||
"context": ".",
|
||||
"mounts": [
|
||||
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind",
|
||||
// Keep command history
|
||||
"source=nano-bashhistory,target=/home/vscode/commandhistory,type=volume",
|
||||
// Could this handle USB?
|
||||
"type=bind,source=/dev/bus/usb,target=/dev/bus/usb"
|
||||
//"type=bind,source=/dev,target=/dev"
|
||||
"source=n64flashcartmenu-bashhistory,target=/commandhistory,type=volume"
|
||||
],
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
|
4
Makefile
4
Makefile
@ -31,6 +31,7 @@ $(EXE_NAME).z64: N64_ROM_TITLE=$(EXE_NAME)
|
||||
|
||||
all: $(EXE_NAME).z64
|
||||
$(shell mv $(EXE_NAME).z64 $(BUILD_DIR))
|
||||
$(shell cd $(BUILD_DIR)/ && python3 ../tools/sc64/finalize.py ./$(EXE_NAME).z64)
|
||||
.PHONY: all
|
||||
|
||||
clean:
|
||||
@ -41,7 +42,4 @@ clean:
|
||||
|
||||
# test:
|
||||
|
||||
finalize-sc64:
|
||||
$(shell cd ./$(BUILD_DIR) && python3 ../tools/finalize.py ./$(EXE_NAME).z64)
|
||||
|
||||
-include $(wildcard $(BUILD_DIR)/*.d)
|
||||
|
4
deploy.bat
Normal file
4
deploy.bat
Normal file
@ -0,0 +1,4 @@
|
||||
:: Make sure we are connected
|
||||
./tools/sc64/sc64.exe --print-state
|
||||
:: Boot the menu
|
||||
./tools/sc64/sc64.exe --boot direct-rom --rom ./build/sc64menu.n64
|
@ -10,3 +10,5 @@ Used for build and deployment
|
||||
# Notes
|
||||
It might be preferable to change to a submodule.
|
||||
But `finalize.py` is independent.
|
||||
|
||||
The deployer needs to be downloaded from https://github.com/Polprzewodnikowy/SummerCart64/releases/tag/v2.12.1 and placed in this folder.
|
||||
|
1422
tools/sc64/sc64.py
1422
tools/sc64/sc64.py
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user