CI for circuits_i2c 1.x

This commit is contained in:
Brian Alexander 2023-08-18 17:01:55 -06:00
parent 4dfbd0fdec
commit 2c47d35d32

View file

@ -36,6 +36,31 @@ build:
reports:
dotenv: project_info.env
build_i2c_1_x:
image: elixir:latest
stage: build_i2c_1_x
cache:
key: "$CI_JOB_NAME"
paths:
- deps
- _build
- .hex
- .mix
script:
- mix local.hex --force
- mix local.rebar --force
- CI_I2C_1_X=true mix deps.get
- mix deps.compile
- mix git_ops.project_info -f dotenv > project_info.env
artifacts:
paths:
- _build/
- deps/
- .hex
- .mix
reports:
dotenv: project_info.env
test:
image: elixir:latest
dependencies: