fix(ci): Build all features for each package and build all archs
This commit is contained in:
parent
ddfacd3492
commit
c8d8ab306c
5 changed files with 38 additions and 15 deletions
4
.github/workflows/build-pr.yml
vendored
4
.github/workflows/build-pr.yml
vendored
|
|
@ -115,7 +115,7 @@ jobs:
|
|||
- name: Run build
|
||||
id: build
|
||||
run: |
|
||||
earthly --ci --push -P +build-images
|
||||
earthly --ci --push -P +build-images-all
|
||||
|
||||
build-scripts:
|
||||
timeout-minutes: 5
|
||||
|
|
@ -140,7 +140,7 @@ jobs:
|
|||
- name: Run build
|
||||
id: build
|
||||
run: |
|
||||
earthly --ci --push -P +build-scripts
|
||||
earthly --ci --push -P +build-scripts-all
|
||||
|
||||
integration-tests:
|
||||
permissions:
|
||||
|
|
|
|||
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
|
@ -172,7 +172,7 @@ jobs:
|
|||
- name: Run build
|
||||
id: build
|
||||
run: |
|
||||
earthly --ci --push -P +build-scripts
|
||||
earthly --ci --push -P +build-scripts-all
|
||||
|
||||
build-images:
|
||||
permissions:
|
||||
|
|
@ -215,11 +215,11 @@ jobs:
|
|||
|
||||
- name: Run build
|
||||
if: github.repository == 'blue-build/cli'
|
||||
run: earthly --push --ci -P +build-images
|
||||
run: earthly --push --ci -P +build-images-all
|
||||
|
||||
- name: Run build fork
|
||||
if: github.repository != 'blue-build/cli'
|
||||
run: earthly --ci -P +build-images
|
||||
run: earthly --ci -P +build-images-all
|
||||
|
||||
integration-tests:
|
||||
permissions:
|
||||
|
|
|
|||
4
.github/workflows/tag.yml
vendored
4
.github/workflows/tag.yml
vendored
|
|
@ -102,7 +102,7 @@ jobs:
|
|||
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
|
||||
CARGO_PACKAGE_VERSION="v$(cargo metadata --format-version 1 | jq -r '.packages[] | select(.name == "blue-build") .version')"
|
||||
LATEST=$(test "$CARGO_PACKAGE_VERSION" = "$LATEST_TAG" && echo true || echo false)
|
||||
earthly --ci --push +build-scripts --TAGGED="true" --LATEST="$LATEST"
|
||||
earthly --ci --push +build-scripts-all --TAGGED="true" --LATEST="$LATEST"
|
||||
|
||||
build-images:
|
||||
permissions:
|
||||
|
|
@ -140,4 +140,4 @@ jobs:
|
|||
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
|
||||
CARGO_PACKAGE_VERSION="v$(cargo metadata --format-version 1 | jq -r '.packages[] | select(.name == "blue-build") .version')"
|
||||
LATEST=$(test "$CARGO_PACKAGE_VERSION" = "$LATEST_TAG" && echo true || echo false)
|
||||
earthly --push --ci -P +build-images --TAGGED="true" --LATEST="$LATEST"
|
||||
earthly --push --ci -P +build-images-all --TAGGED="true" --LATEST="$LATEST"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue