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
|
2025-01-03 23:23:19 +00:00
|
|
|
./scripts/build.sh
|
2025-01-03 23:08:48 +00:00
|
|
|
|