linux build action

This commit is contained in:
antelle 2020-04-04 18:02:32 +02:00
parent c97219311f
commit a40c116617
No known key found for this signature in database
GPG Key ID: 094A2F2D6136A4EE
3 changed files with 21 additions and 0 deletions

11
.github/actions/linux-build/Dockerfile vendored Normal file
View File

@ -0,0 +1,11 @@
FROM snapcore/snapcraft:stable
COPY entrypoint.sh /entrypoint.sh
RUN apt-get update
RUN apt-get install -y build-essential git-core unzip curl pkg-config rpm
RUN curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
RUN apt-get install -y nodejs
RUN npm i -g grunt-cli
ENTRYPOINT ["/entrypoint.sh"]

View File

@ -0,0 +1,5 @@
name: 'Linux Build'
description: 'Build KeeWeb on Linux in Docker'
runs:
using: 'docker'
image: 'Dockerfile'

5
.github/actions/linux-build/entrypoint.sh vendored Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash -e
cd /github/workspace/keeweb
npm ci
grunt desktop-linux