-
Notifications
You must be signed in to change notification settings - Fork 7
/
.gitlab-ci.yml
30 lines (29 loc) · 1.84 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
stages:
- ClearCore
ClearCore:
stage: ClearCore
script:
- cd %USERPROFILE%\AppData\Local\Arduino15\packages\ClearCore
- rmdir /S /Q hardware\sam\1.0.1
- rmdir /S /Q hardware\sam\1.0.2
- rmdir /S /Q hardware\sam\1.0.3
- rmdir /S /Q hardware\sam\1.0.4
- rmdir /S /Q hardware\sam\1.0.5
- rmdir /S /Q hardware\sam\1.0.6
- rmdir /S /Q hardware\sam\1.0.7
- rmdir /S /Q hardware\sam\1.0.8
- rmdir /S /Q hardware\sam\1.0.9
- rmdir /S /Q hardware\sam\1.0.10
- rmdir /S /Q hardware\sam\1.0.11
- rmdir /S /Q hardware\sam\1.0.12
- rmdir /S /Q hardware\sam\1.0.13
- git clone [email protected]:CustomerPackages/ClearCore_Arduino.git --branch "%CI_COMMIT_REF_NAME%" --single-branch "hardware\sam\1.0.13" || ( git clone [email protected]:CustomerPackages/ClearCore_Arduino.git --branch "develop" --single-branch "hardware\sam\1.0.13" )
- git clone [email protected]:CustomerPackages/libClearCore.git --branch "%CI_COMMIT_REF_NAME%" --single-branch "hardware\sam\1.0.13\Teknic\libClearCore" || ( git clone [email protected]:CustomerPackages/libClearCore.git --branch "develop" --single-branch "hardware\sam\1.0.13\Teknic\libClearCore" )
- git clone [email protected]:CustomerPackages/same53.git --branch "master" --single-branch "hardware\sam\1.0.13\variants\clearcore\Third Party\SAME53"
- git clone [email protected]:CustomerPackages/LwIP.git --branch "master" --single-branch "hardware\sam\1.0.13\Teknic\LwIP"
- git clone [email protected]:CustomerPackages/uf2-builder.git --branch "master" --single-branch "hardware\sam\1.0.13\Teknic\Tools\uf2-builder"
- cd "hardware\sam\1.0.13"
- mkdir TestSketch
- echo void setup(){} void loop(){} > TestSketch/TestSketch.ino
- atmelstudio.exe ClearCore.atsln /build debug /out output.txt || ( type output.txt & EXIT /B 1 )
- python build.py -c -b