+66
.tangled/workflows/build-publish.yaml
+66
.tangled/workflows/build-publish.yaml
···
1
+
when:
2
+
- event: ["push", "manual"]
3
+
branch: ["master"]
4
+
- event: ["push", "manual"]
5
+
branch: ["testing"]
6
+
7
+
engine: "nixery"
8
+
9
+
# using the default values
10
+
clone:
11
+
skip: false
12
+
depth: 1
13
+
submodules: false
14
+
15
+
dependencies:
16
+
# nixpkgs
17
+
nixpkgs:
18
+
- cargo
19
+
- dotnet-sdk
20
+
- mono
21
+
- wget
22
+
- unzip
23
+
- git
24
+
- gcc
25
+
26
+
steps:
27
+
# SETUP passwd
28
+
- name: "Create /etc/passwd"
29
+
command: "echo root:x:0:0::$PWD/home:/usr/bin/bash > /etc/passwd"
30
+
- name: "Create fake home"
31
+
command: "mkdir $PWD/home"
32
+
33
+
# GODOTSTEAM
34
+
- name: "Get GodotSteam"
35
+
command: "wget -nv https://codeberg.org/godotsteam/godotsteam/releases/download/v3.21/linux64-g352-s158-gs321.zip -O godotsteam.zip"
36
+
- name: "Unzip GodotSteam"
37
+
command: "unzip godotsteam.zip -d godotsteam"
38
+
- name: "Make GodotSteam executable"
39
+
command: "chmod +x godotsteam/linux-352-editor.64"
40
+
41
+
# GDWEAVE
42
+
- name: "Get GDWeave"
43
+
command: "wget -nv https://github.com/NotNite/GDWeave/releases/download/v2.0.14/GDWeave.zip -O gdweave.zip"
44
+
- name: "Unzip GDWeave"
45
+
command: "unzip gdweave.zip"
46
+
47
+
# Setup home dir
48
+
49
+
50
+
# MANIFESTATION
51
+
- name: "Install Manifestation"
52
+
command: "cargo install --git https://github.com/NotNite/manifestation.git"
53
+
54
+
- name: "Create Manifestation config dir"
55
+
command: "mkdir manifestation_config"
56
+
57
+
- name: "Add GodotSteam to manifestation config"
58
+
command: "echo godot_path = \\\"${PWD}/godotsteam/linux-352-editor.64\\\" > manifestation_config/config.toml"
59
+
- name: "Add GDWeave to manifestation config"
60
+
command: "echo gdweave_path = \\\"${PWD}/GDWeave\\\" >> manifestation_config/config.toml"
61
+
62
+
- name: "LOG"
63
+
command: "cat manifestation_config/config.toml"
64
+
65
+
- name: "Run manifestation"
66
+
command: "MANIFESTATION_CONFIG_DIR=$PWD/manifestation_config ~/.cargo/bin/manifestation ./manifestation.toml"