From 7ba9ec7135b0f75c5b678af325f0d1e1738dbce0 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Mon, 18 Sep 2023 15:07:24 +0200 Subject: [PATCH] Update the drone pipeline --- .drone.yml | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6e1f717..13386ea 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,6 +19,7 @@ steps: - name: Build image: ubuntu:22.04 commands: + - git submodule update --init --recursive --progress - apt-get update -y - | apt-get install -y \ @@ -32,29 +33,6 @@ steps: cmake -B build -S ./ \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev - - git submodule update --init --recursive --progress - - git submodule update --init --recursive - - name: Build and push the docker image - image: plugins/docker - when: - branch: - - dev - settings: - registry: git.badhouseplants.net - username: allanger - password: - from_secret: GITEA_TOKEN - repo: git.badhouseplants.net/${DRONE_REPO} - dockerfile: Containerfile - tags: latest - - - name: Build the Linux version - image: ubuntu - commands: - - apt update -y - - apt install -y build-essential libasound2 cmake fftw-dev pkg-config libx11-dev x11-xserver-utils libxrandr-dev libxinerama-dev libxcursor-dev libfreetype6-dev libfftw3-dev libasound2-dev libjack-dev - - cmake -B build -S $DRONE_WORKSPACE -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev - - cmake --build build - name: Prepare files for release image: ubuntu:22.04