chore(ci): try to reduce CI artifacts footprint
To speed up uploads and downloads in dependent jobs.
This commit is contained in:
parent
b1a3bc8565
commit
419b80d11e
|
@ -0,0 +1,3 @@
|
||||||
|
.git/*
|
||||||
|
*/.git/*
|
||||||
|
*/.github/*
|
|
@ -138,9 +138,8 @@ jobs:
|
||||||
ENABLE_COVER_COMPILE: 1
|
ENABLE_COVER_COMPILE: 1
|
||||||
run: |
|
run: |
|
||||||
make ensure-rebar3
|
make ensure-rebar3
|
||||||
make ${PROFILE}
|
make ${PROFILE}-compile test-compile
|
||||||
make test-compile
|
zip -ryq -x@.github/workflows/.zipignore $PROFILE.zip .
|
||||||
zip -ryq $PROFILE.zip .
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.profile }}
|
name: ${{ matrix.profile }}
|
||||||
|
|
|
@ -149,7 +149,7 @@ jobs:
|
||||||
ENABLE_COVER_COMPILE: 1
|
ENABLE_COVER_COMPILE: 1
|
||||||
run: |
|
run: |
|
||||||
make $PROFILE
|
make $PROFILE
|
||||||
zip -ryq $PROFILE.zip .
|
zip -ryq -x@.github/workflows/.zipignore $PROFILE.zip .
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.profile }}
|
name: ${{ matrix.profile }}
|
||||||
|
|
|
@ -34,6 +34,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
unzip -o -q ${{ matrix.profile }}.zip
|
unzip -o -q ${{ matrix.profile }}.zip
|
||||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||||
|
- run: make ${{ matrix.profile }}
|
||||||
- run: ./scripts/test/check-example-configs.sh
|
- run: ./scripts/test/check-example-configs.sh
|
||||||
- run: ./scripts/conf-test/run.sh
|
- run: ./scripts/conf-test/run.sh
|
||||||
- name: print erlang log
|
- name: print erlang log
|
||||||
|
|
Loading…
Reference in New Issue