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
|
name: Build for Linux
|
||||||
|
env:
|
||||||
|
BUILD_DEPS: git nim nimble
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
test-build:
|
test-build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
- name: Checkouter
|
- name: Install Dependencies
|
||||||
uses: pswilde/norgbackup
|
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