-
Notifications
You must be signed in to change notification settings - Fork 12
37 lines (29 loc) · 878 Bytes
/
build.yml
File metadata and controls
37 lines (29 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This workflow will build a Nimble project
name: Build
on: push
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-48
options: --privileged
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# ⚠️ This setups the latest stable Nim version
- name: Install Nim
uses: iffy/install-nim@v5
#- name: Install glib
# run: sudo apt install libglib2.0-dev --assume-yes
- name: Compile resources
run: ./scripts/compile-resources.sh
- name: Install dependencies
run: nimble install -y
- name: Build with nimble
run: nimble build --define:release --out:lucem
- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: Build
path: lucem