norgbackup/.forgejo/workflows/build_linux.yaml

22 lines
457 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:
2025-01-04 00:20:08 +01:00
BUILD_DEPS: git
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: |
2025-01-04 00:21:00 +01:00
git clone ${{ github.server_url }}/${{ github.repository }}
2025-01-04 00:16:57 +01:00
- name: Build
run: |
2025-01-04 00:21:51 +01:00
cd norgbackup
2025-01-04 00:23:19 +01:00
./scripts/build.sh
2025-01-04 00:08:48 +01:00