Commit 283717d8 authored by Synthron's avatar Synthron
Browse files

add gitlab-ci

parent f1f1ce46
# default docker container for Arduino compiling
image: synthron/ci-build:1.2
stages:
- compile
# Compile and save the files for RAM test
02_RAM:
stage: compile
before_script:
- mkdir output/
script:
- cd cc65_projects/02_RAM-test/
- ./compile.bash -d
- cp output/* ../../output/
artifacts:
paths:
- output/
only:
changes:
- cc65_projects/02_RAM-test/*
# Compile and save the files for PIA test
03_PIA:
stage: compile
before_script:
- mkdir output/
script:
- cd cc65_projects/03_PIA-test/
- ./compile.bash -d
- cp output/* ../../output/
artifacts:
paths:
- output/
only:
changes:
- cc65_projects/03_PIA-test/*
# Compile and save the files for VIA2 test
04-VIA2:
stage: compile
before_script:
- mkdir output/
script:
- cd cc65_projects/04_VIA2-test/
- ./compile.bash -d
- cp output/* ../../output/
artifacts:
paths:
- output/
only:
changes:
- cc65_projects/04_VIA2-test/*
# Compile and save the files for LCD test
05-LCD:
stage: compile
before_script:
- mkdir output/
script:
- cd cc65_projects/05_LCD-test/
- ./compile.bash -d
- cp output/* ../../output/
artifacts:
paths:
- output/
only:
changes:
- cc65_projects/05_LCD-test/*
# Compile and save the files for LCD test
06-Interrupt:
stage: compile
before_script:
- mkdir output/
script:
- cd cc65_projects/06_Interrupt-test/
- ./compile.bash -d
- cp output/* ../../output/
artifacts:
paths:
- output/
only:
changes:
- cc65_projects/06_Interrupt-test/*
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment