diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8e80feb25cb42..fd98c4fff9b8e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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 @@ -59,27 +59,22 @@ 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 @@ -87,17 +82,12 @@ jobs: 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 @@ -105,17 +95,12 @@ jobs: 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 @@ -123,16 +108,11 @@ jobs: 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