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: |
|
|
|
|
cd app
|
|
|
|
nimble build --release
|
2025-01-04 00:08:48 +01:00
|
|
|
|