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