This commit is contained in:
parent
df094b9850
commit
da71e6990a
1 changed files with 12 additions and 3 deletions
|
@ -1,10 +1,19 @@
|
|||
name: Build for Linux
|
||||
|
||||
env:
|
||||
BUILD_DEPS: git nim nimble
|
||||
on: [push]
|
||||
jobs:
|
||||
test-build:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Checkouter
|
||||
uses: pswilde/norgbackup
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
apt update && apt install --yes $BUILD_DEPS
|
||||
- name: Clone repo
|
||||
run: |
|
||||
git clone ${{ github.ref_name }} ${{ github.server_url }}/${{ github.repository }}
|
||||
- name: Build
|
||||
run: |
|
||||
cd app
|
||||
nimble build --release
|
||||
|
||||
|
|
Loading…
Reference in a new issue