dragonflysots 6 yıl önce
ebeveyn
işleme
51cc4df26f
6 değiştirilmiş dosya ile 104 ekleme ve 4 silme
  1. 29
    0
      .drone.yml
  2. 56
    0
      .gitlab-ci.yml
  3. 16
    2
      README.md
  4. 1
    1
      g3headers
  5. 2
    0
      src/pokedex/pokedex.c
  6. 0
    1
      src/test/test.s

+ 29
- 0
.drone.yml Dosyayı Görüntüle

@@ -0,0 +1,29 @@
1
+clone:
2
+  git:
3
+    image: plugins/git
4
+    recursive: false
5
+
6
+pipeline:
7
+  pull_build:
8
+    image: sots:latest
9
+    secrets: [ssh_private_key, ssh_known_hosts, ssh_host]
10
+    commands:
11
+      - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
12
+      - eval $(ssh-agent -s)
13
+      - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
14
+      - mkdir -p ~/.ssh
15
+      - chmod 700 ~/.ssh
16
+      - echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
17
+      - chmod 644 ~/.ssh/known_hosts
18
+      - echo "$SSH_HOST" > ~/.ssh/config
19
+      - git submodule sync --recursive
20
+      - git submodule update --init
21
+
22
+      - mkdir -p ../tools
23
+      - rm -rf ../tools/v_tools
24
+      - cp -r /sots-tools/v_tools ../tools
25
+      - rm -f /base/bpre0.gba
26
+      - cp /bpre0.gba ./base/bpre0.gba
27
+      - chmod 644 ./base/bpre0.gba
28
+      
29
+      - make all

+ 56
- 0
.gitlab-ci.yml Dosyayı Görüntüle

@@ -0,0 +1,56 @@
1
+before_script:
2
+  - echo "executing before script"
3
+  - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
4
+
5
+  ##
6
+  ## Run ssh-agent (inside the build environment)
7
+  ##
8
+  - eval $(ssh-agent -s)
9
+
10
+  ##
11
+  ## Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent store
12
+  ## We're using tr to fix line endings which makes ed25519 keys work
13
+  ## without extra base64 encoding.
14
+  ## https://gitlab.com/gitlab-examples/ssh-private-key/issues/1#note_48526556
15
+  ##
16
+  - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
17
+
18
+  ##
19
+  ## Create the SSH directory and give it the right permissions
20
+  ##
21
+  - mkdir -p ~/.ssh
22
+  - chmod 700 ~/.ssh
23
+
24
+  - echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
25
+  - chmod 644 ~/.ssh/known_hosts
26
+
27
+  - echo "$SSH_HOST" > ~/.ssh/config
28
+  - chmod 644 ~/.ssh/config
29
+  - git submodule sync --recursive
30
+  - git submodule update --init
31
+
32
+
33
+  ## Move pymap from the docker image to the tools folder
34
+  - mkdir -p ../tools
35
+  - rm -rf ../tools/v_tools
36
+  - cp -r /sots-tools/v_tools ../tools
37
+  - rm -f base/bpre0.gba
38
+  - cp /bpre0.gba ./base/bpre0.gba
39
+  - chmod 644 ./base/bpre0.gba
40
+
41
+stages:
42
+  - build
43
+
44
+build-sots:
45
+  stage: build
46
+  only:
47
+    - tags
48
+    - web
49
+    - triggers
50
+
51
+  script:
52
+    - echo "Building Pokémon SotS"
53
+    - make all
54
+
55
+  cache:
56
+    key: ${CI_COMMIT_REF_SLUG}

+ 16
- 2
README.md Dosyayı Görüntüle

@@ -1,3 +1,17 @@
1
-Source Code von Pokémon Sovereign of the skies, ohne Anspruch auf Vollständigkeit oder Funktionsfähigkeit. Diese Repository soll lediglich dazu dienen einen Einblick in die Denkweise hinter Pokémon Sovereign of the Skies bieten.
1
+# Pokémon Sovereign of the Skies
2
+## Build Status
3
+[![pipeline 
4
+status](https://drone-ext.karathan.at/api/badges/SBird1337/source_of_the_sovereign/status.svg)](https://github.com/SBird1337/source_of_the_sovereign/commits/master)
2 5
 
3
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6
+## General
7
+This repository provides insight into the Fangame `Pokémon Sovereign of the Skies` which is maintained since 2010. The project is lead by a 
8
+german team, which is why most of the community around it is as well german. You can find our main project thread on `RomhackersWorld`: [Pokémon Sovereign of the Skies](https://board.romhackersworld.eu/board/206-pokemon-sovereign-of-the-skies/)
9
+
10
+Since this is a playable game, most of the assets maintained by us would be heavily spoiling the experience. On the other hand, we want to have our source code publicly available, which is why we have only part of the repository publicly available for you, sorry!
11
+
12
+## Building
13
+Building the repository without access to all the assets is not possible. Though we are using a collection of tools, which is also publicly available for you: [sots-tools](https://github.com/ipatix/sots-tools)
14
+
15
+## Disclaimer
16
+
17
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

+ 1
- 1
g3headers

@@ -1 +1 @@
1
-Subproject commit a2e68703dcfccb4ef2319f8fd79a8ea7803a63c7
1
+Subproject commit 732e4c1cc26397d8ac95c28886d29501b0baf5b4

+ 2
- 0
src/pokedex/pokedex.c Dosyayı Görüntüle

@@ -7,6 +7,8 @@
7 7
 #include <pokedex/pdexScrollBar.h>
8 8
 #include <pokedex/pdexSelectHalf.h>
9 9
 
10
+//testing ci, no hate plz
11
+
10 12
 #include "pokedex_common.h"
11 13
 
12 14
 #define TB_TITLE 0

+ 0
- 1
src/test/test.s Dosyayı Görüntüle

@@ -1,4 +1,3 @@
1
-
2 1
 .text
3 2
 .thumb
4 3