CI updated to actually work with multi schem projs

Git submodules tested and working using .gitmodules file
Made test template
This commit is contained in:
ac
2023-01-18 18:25:49 +10:00
parent bbed40ccc5
commit 40737327a0
6 changed files with 26 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ image:
rules: rules:
- !reference [.main_rules, rules] - !reference [.main_rules, rules]
variables: variables:
COMMAND: kibot -e "$SCHEM" -c ../default.kibot.yaml -d "../Fabrication/$DIR" -s COMMAND: kibot -e "$SCHEM" -c "$CI_PROJECT_DIR/default.kibot.yaml" -d "$CI_PROJECT_DIR/Fabrication/$DIR" -s
SUFFIX: "" SUFFIX: ""
script: script:
- cd "$DIR" - cd "$DIR"
@@ -38,8 +38,6 @@ image:
dependencies: [] dependencies: []
parallel: parallel:
matrix: matrix:
- DIR: '.'
SCHEM: 'proj.kicad_sch'
.tempout: .tempout:
extends: .template extends: .template

3
test/.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "libs/melonlib"]
path = libs/melonlib
url = git@gitlab.com:Micromelon/education/hardware/micromelon-kicadlibs.git

22
test/meta/info.html Normal file
View File

@@ -0,0 +1,22 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html;
charset=windows-1252">
<TITLE>Raspberry Pi - Expansion Board</TITLE>
</HEAD>
<BODY LANG="fr-FR" DIR="LTR">
<P>This project template is the basis of an expansion board for the
<A HREF="http://www.raspberrypi.org/" TARGET="blank">Raspberry Pi $25
ARM board.</A> <BR><BR>This base project includes a PCB edge defined
as the same size as the Raspberry-Pi PCB with the connectors placed
correctly to align the two boards. All IO present on the Raspberry-Pi
board is connected to the project through the 0.1&quot; expansion
headers. <BR><BR>The board outline looks like the following:
</P>
<P><IMG SRC="brd.png" NAME="brd" ALIGN=BOTTOM WIDTH=680 HEIGHT=378
BORDER=0><BR><BR><BR><BR>
</P>
<P>(c)2012 Brian Sidebotham<BR>(c)2012 KiCad Developers</P>
</BODY>
</HTML>