diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 477e25b..b098da0 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -11,7 +11,10 @@ on: jobs: Build: name: Build - runs-on: ubuntu-latest + container: + image: ubuntu:24.04 + volumes: + - build-artifacts:/workspace/artifacts env: QT_VERSION: 6.7.3 PATH: $HOME/.cargo/bin:$PATH @@ -48,6 +51,19 @@ jobs: . "$HOME/.cargo/env" cargo b --release + - name: Copy build artifacts + run: cp -r target/ /workspace/artifacts/ + + Test: + name: Test + container: + image: ubuntu:24.04 + volumes: + - build-artifacts:/workspace/artifacts + steps: + - name: Copy build artifacts + run: cp -r /workspace/artifacts/target/ . + - name: Test libclide run: | . "$HOME/.cargo/env"