Skip to content

Commit

Permalink
try keep all src
Browse files Browse the repository at this point in the history
  • Loading branch information
pbo-linaro committed Oct 17, 2024
1 parent 0cbcd24 commit 8558705
Showing 1 changed file with 25 additions and 45 deletions.
70 changes: 25 additions & 45 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
run: ./run.sh amd64 true
- name: build clang
run: ./run.sh amd64 ./build.sh clang
- run: pushd /home/runner/.cache/ccache && tar cvf /home/runner/cache.tar ./ && popd
- run: tar cvf src.tar .
- uses: actions/upload-artifact@v3
with:
name: build-ccache-clang
path: /home/runner/cache.tar
name: build-clang
path: src.tar

build-debug:
runs-on: ubuntu-latest
Expand All @@ -44,11 +44,11 @@ jobs:
run: ./run.sh amd64 true
- name: build debug
run: ./run.sh amd64 ./build.sh debug
- run: pushd /home/runner/.cache/ccache && tar cvf /home/runner/cache.tar ./ && popd
- run: tar cvf src.tar .
- uses: actions/upload-artifact@v3
with:
name: build-ccache-debug
path: /home/runner/cache.tar
name: build-debug
path: src.tar

build:
runs-on: ubuntu-latest
Expand All @@ -59,80 +59,60 @@ jobs:
run: ./run.sh amd64 true
- name: build opt
run: ./run.sh amd64 ./build.sh opt
- run: pushd /home/runner/.cache/ccache && tar cvf /home/runner/cache.tar ./ && popd
- run: tar cvf src.tar .
- uses: actions/upload-artifact@v3
with:
name: build-ccache
path: /home/runner/cache.tar
name: build
path: src.tar

check-tcg:
runs-on: ubuntu-latest
needs: build-debug
steps:
- name: checkout
uses: actions/checkout@v4
- name: build_container
run: ./run.sh amd64 true
- uses: actions/download-artifact@v3
with:
name: build-ccache-debug
path: /home/runner/
- run: pushd /home/runner/.cache/ccache && tar xvf /home/runner/cache.tar && popd
- name: build debug
run: ./run.sh amd64 ./build.sh debug
name: build-debug
- run: tar xvf src.tar
- name: build_container
run: ./run.sh amd64 true
- name: check-tcg
run: ./run.sh amd64 make -C build check-tcg

check-functional:
runs-on: ubuntu-latest
needs: build
steps:
- name: checkout
uses: actions/checkout@v4
- name: build_container
run: ./run.sh amd64 true
- uses: actions/download-artifact@v3
with:
name: build-ccache
path: /home/runner/
- run: pushd /home/runner/.cache/ccache && tar xvf /home/runner/cache.tar && popd
- name: build opt
run: ./run.sh amd64 ./build.sh opt
name: build
- run: tar xvf src.tar
- name: build_container
run: ./run.sh amd64 true
- name: check-functional
run: ./run.sh amd64 make -C build check-functional

check-avocado:
runs-on: ubuntu-latest
needs: build
steps:
- name: checkout
uses: actions/checkout@v4
- name: build_container
run: ./run.sh amd64 true
- uses: actions/download-artifact@v3
with:
name: build-ccache
path: /home/runner/
- run: pushd /home/runner/.cache/ccache && tar xvf /home/runner/cache.tar && popd
- name: build opt
run: ./run.sh amd64 ./build.sh opt
name: build
- run: tar xvf src.tar
- name: build_container
run: ./run.sh amd64 true
- name: check-avocado
run: ./run.sh amd64 make -C build check-avocado

check: # Run block, qapi-schema, unit, softfloat, qtest and decodetree tests
runs-on: ubuntu-latest
needs: build
steps:
- name: checkout
uses: actions/checkout@v4
- name: build_container
run: ./run.sh amd64 true
- uses: actions/download-artifact@v3
with:
name: build-ccache
path: /home/runner/
- run: pushd /home/runner/.cache/ccache && tar xvf /home/runner/cache.tar && popd
- name: build opt
run: ./run.sh amd64 ./build.sh opt
name: build
- run: tar xvf src.tar
- name: build_container
run: ./run.sh amd64 true
- name: check
run: ./run.sh amd64 make -C build check

0 comments on commit 8558705

Please sign in to comment.