Use our own toolchain instead of the one in the image

Now that we are adding our own target we can compile our own toolchain
instead of using the stock one. This does mean that there isn't really a
purpose to using the alpine cc65 image though
This commit is contained in:
Byron Lathi
2022-04-20 12:39:40 -05:00
parent 686630e79f
commit aa717685e3
9 changed files with 38 additions and 13 deletions

View File

@@ -3,20 +3,32 @@ default:
- docker
stages:
- build_toolchain
- build_sw
- build_hw
- test
build-cc65:
stage: build_toolchain
image: gcc
script:
- cd sw
- make toolchain
build-kernel:
stage: build_sw
image: a2geek/cc65-pipeline
image: gcc
script:
- cd sw/kernel
- make
artifacts:
paths:
- sw/cc65/bin
- sw/cc65/lib
build-bootloader:
stage: build_sw
image: a2geek/cc65-pipeline
image: gcc
script:
- cd sw/bootloader
- make
@@ -53,7 +65,7 @@ test_bb_spi:
test-sw:
stage: test
image: a2geek/cc65-pipeline
image: gcc
script:
- cd sw/kernel
- make test