+22
-10
.tangled/workflows/build-publish.yaml
+22
-10
.tangled/workflows/build-publish.yaml
···
17
nixpkgs:
18
- cargo
19
- dotnet-sdk
20
- wget
21
- unzip
22
- git
23
- gcc
24
-
25
-
environment:
26
-
MANIFESTATION_CONFIG_DIR: "$PWD/manifestation_config"
27
28
steps:
29
# GODOTSTEAM
30
- name: "Get GodotSteam"
31
-
command: "wget https://codeberg.org/godotsteam/godotsteam/releases/download/v3.21/linux64-g352-s158-gs321.zip -O godotsteam.zip"
32
- name: "Unzip GodotSteam"
33
command: "unzip godotsteam.zip -d godotsteam"
34
- name: "Make GodotSteam executable"
···
36
37
# GDWEAVE
38
- name: "Get GDWeave"
39
-
command: "wget https://github.com/NotNite/GDWeave/releases/download/v2.0.14/GDWeave.zip -O gdweave.zip"
40
- name: "Unzip GDWeave"
41
command: "unzip gdweave.zip"
42
43
# MANIFESTATION
44
- name: "Install Manifestation"
45
command: "cargo install --git https://github.com/NotNite/manifestation.git"
46
-
47
- name: "Create Manifestation config dir"
48
-
command: "mkdir -pv MANIFESTATION_CONFIG_DIR"
49
50
-
- name: "Create Manifestation config"
51
-
command: "echo godot_path = $PWD/godotsteam/linux-352-editor.64\ngdweave_path = $PWD/GDWeave > MANIFESTATION_CONFIG_DIR/config.toml"
52
53
- name: "Run manifestation"
54
-
command: "~/.cargo/bin/manifestation ./manifestation.toml"
···
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"
···
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"