From 1529b6a3f6305f4646cf452b435b477298d08e61 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Sun, 17 Apr 2022 17:46:16 +0200 Subject: [PATCH] Merged build & gen-vc --- .woodpecker.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 9725fb3dad..d4c1756e70 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -2,22 +2,16 @@ platform: linux/amd64 branch: master pipeline: - build: - image: 'ubuntu:latest' - commands: - - apt-get update -y && apt-get install build-essential git -y - - make - when: - event: push - gen-vc: # This is what the official CI uses as well image: 'ubuntu:latest' secrets: - deploy_key commands: - # Install ssh-agent if not present - - apt-get update -y && apt-get install openssh-client git -y + # Install necessary dependencies + - apt-get update -y && apt-get install openssh-client git build-essential -y + # Build the compiler + - make # Run ssh-agent - eval $(ssh-agent -s) # Add ssh key