norgbackup/.forgejo/workflows/build_linux.yaml

22 lines
464 B
YAML
Raw Normal View History

2025-01-03 23:08:48 +00:00
name: Build for Linux
2025-01-03 23:16:57 +00:00
env:
2025-01-03 23:20:08 +00:00
BUILD_DEPS: git
2025-01-03 23:08:48 +00:00
on: [push]
jobs:
test-build:
runs-on: docker
2025-01-03 23:18:57 +00:00
container:
image: nimlang/nim:latest
2025-01-03 23:08:48 +00:00
steps:
2025-01-03 23:16:57 +00:00
- name: Install Dependencies
run: |
apt update && apt install --yes $BUILD_DEPS
- name: Clone repo
run: |
2025-01-03 23:21:00 +00:00
git clone ${{ github.server_url }}/${{ github.repository }}
2025-01-03 23:16:57 +00:00
- name: Build
run: |
2025-01-03 23:21:51 +00:00
cd norgbackup
nimble build -y --release
2025-01-03 23:08:48 +00:00