chore(CI): download and compile deps for all supported targets.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c97a452bb6
commit
c8164bce74
1 changed files with 5 additions and 4 deletions
|
@ -70,8 +70,9 @@ steps:
|
||||||
- mix local.hex --if-missing --force
|
- mix local.hex --if-missing --force
|
||||||
- mix local.rebar --if-missing --force
|
- mix local.rebar --if-missing --force
|
||||||
- mix archive.install hex nerves_bootstrap --force
|
- mix archive.install hex nerves_bootstrap --force
|
||||||
- mix deps.get
|
- (export MIX_TARGET=host; mix deps.get && mix deps.compile)
|
||||||
- mix deps.compile
|
- (export MIX_TARGET=x86_64; mix deps.get && mix deps.compile)
|
||||||
|
- (export MIX_TARGET=rpi4; mix deps.get && mix deps.compile)
|
||||||
- mix dialyzer --plt
|
- mix dialyzer --plt
|
||||||
|
|
||||||
- name: store ASDF cache
|
- name: store ASDF cache
|
||||||
|
@ -313,8 +314,8 @@ steps:
|
||||||
- tar zcvf "artifacts/$${APP_NAME}-$${APP_VERSION}-docs.tar.gz" doc/
|
- tar zcvf "artifacts/$${APP_NAME}-$${APP_VERSION}-docs.tar.gz" doc/
|
||||||
- git tag -l --format='%(contents:subject)' v$${APP_VERSION} > tag_subject
|
- git tag -l --format='%(contents:subject)' v$${APP_VERSION} > tag_subject
|
||||||
- git tag -l --format='%(contents:body)' v$${APP_VERSION} > tag_body
|
- git tag -l --format='%(contents:body)' v$${APP_VERSION} > tag_body
|
||||||
- MIX_TARGET=x86_64 mix firmware.image && mv $${APP_NAME}.img artifacts/$${APP_NAME}-$${APP_VERSION}-x86_64.img
|
- MIX_TARGET=x86_64 mix firmware.image artifacts/$${APP_NAME}-$${APP_VERSION}-$${MIX_TARGET}.img
|
||||||
- MIX_TARGET=rpi4 mix firmware.image && mv $${APP_NAME}.img artifacts/$${APP_NAME}-$${APP_VERSION}-rpi4.img
|
- MIX_TARGET=rpi4 mix firmware.image artifacts/$${APP_NAME}-$${APP_VERSION}-$${MIX_TARGET}.img
|
||||||
|
|
||||||
- name: gitea release
|
- name: gitea release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
|
|
Loading…
Reference in a new issue