norgbackup/.forgejo/workflows/build_linux.yaml

22 lines
488 B
YAML
Raw Normal View History

2025-01-04 00:08:48 +01:00
name: Build for Linux
2025-01-04 00:16:57 +01:00
env:
BUILD_DEPS: git nim nimble
2025-01-04 00:08:48 +01:00
on: [push]
jobs:
test-build:
runs-on: docker
2025-01-04 00:18:57 +01:00
container:
image: nimlang/nim:latest
2025-01-04 00:08:48 +01:00
steps:
2025-01-04 00:16:57 +01:00
- 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
2025-01-04 00:08:48 +01:00