diff options
| author | Yang Liu <liuyang22@iscas.ac.cn> | 2023-03-19 02:00:26 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-18 19:00:26 +0100 |
| commit | d052603335ad2a2ff415b4e538103421fa3f150e (patch) | |
| tree | 6d73ddbeaaca3ef323a51636373f4cb4927237f5 /.github/workflows | |
| parent | 01395fc579c2cc310375d51e7ee4c17e78de20d4 (diff) | |
| download | box64-d052603335ad2a2ff415b4e538103421fa3f150e.tar.gz box64-d052603335ad2a2ff415b4e538103421fa3f150e.zip | |
[CI] Avoid copying files (#584)
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/release.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 379d13da..4aa1a44d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -98,15 +98,15 @@ jobs: sudo apt-get -y install qemu-user fi + cd build if [[ ${{ matrix.platform }} == 'RISCV' ]]; then - sudo cp -r /usr/riscv64-linux-gnu/lib/* /lib/ + QEMU_LD_PREFIX=/usr/riscv64-linux-gnu/ ctest -j$(nproc) --rerun-failed --output-on-failure elif [[ ${{ matrix.platform }} != 'X64' ]]; then - sudo cp -r /usr/aarch64-linux-gnu/lib/* /lib/ + QEMU_LD_PREFIX=/usr/aarch64-linux-gnu/ ctest -j$(nproc) --rerun-failed --output-on-failure + else + ctest -j$(nproc) --rerun-failed --output-on-failure fi - cd build - ctest -j$(nproc) --rerun-failed --output-on-failure - - name: "Upload Artifact" uses: actions/upload-artifact@v3 with: |