diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index ad94130..bdfc94f 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -10,8 +10,11 @@ on: jobs: Build: - runs-on: ubuntu-latest name: Build + container: + image: ubuntu:latest + volumes: + - build-artifacts:/workspace/artifacts env: QT_VERSION: 6.7.3 QMAKE: ${{ env.CI_WORKSPACE }}/${{ env.QT_VERSION }}/gcc_64/bin/qmake @@ -46,10 +49,19 @@ jobs: . "$HOME/.cargo/env" cargo b --release + - name: Copy build artifacts + run: cp -r target/ /workspace/artifacts/ + Test: name: Test - runs-on: ubuntu-latest + container: + image: ubuntu:latest + volumes: + - build-artifacts:/workspace/artifacts steps: + - name: Copy build artifacts + run: cp -r /workspace/artifacts/target/ . + - name: Test libclide run: | . "$HOME/.cargo/env"