19 lines
441 B
YAML
19 lines
441 B
YAML
name: Build for Linux
|
|
env:
|
|
BUILD_DEPS: git nim nimble
|
|
on: [push]
|
|
jobs:
|
|
test-build:
|
|
runs-on: docker
|
|
steps:
|
|
- 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
|
|
|