Skip to content

Commit

Permalink
Merge pull request nwnxee#1 from plenarius/mtijanic-nwnx64
Browse files Browse the repository at this point in the history
Bring nwnx64 up to date
  • Loading branch information
mtijanic committed Oct 13, 2019
2 parents 9d2be2f + b7f2041 commit c709b04
Show file tree
Hide file tree
Showing 233 changed files with 14,956 additions and 2,616 deletions.
53 changes: 52 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
at: ~/nwnxee
- checkout
- run: CC="gcc -m32" CXX="g++ -m32" cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .
- run: make all
- run: make all -j2
- run: Scripts/packageNWScript.sh
- run: Scripts/packageJarFile.sh
- run: zip Binaries/NWNX-EE.zip Binaries/NWNX_*.so Binaries/*.jar
Expand All @@ -23,6 +23,22 @@ jobs:
- Binaries
- store_artifacts:
path: Binaries
docs-build:
<<: *defaults
docker:
- image: plenarius/nwnxee-doc-builder:0.0.3
steps:
- attach_workspace:
at: ~/nwnxee
- checkout
- run: CC="gcc -m32" CXX="g++ -m32" cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .
- run: make docs
- run: make dark-docs
- persist_to_workspace:
root: Documentation/
paths:
- light
- dark
deploy:
<<: *defaults
machine: true
Expand All @@ -31,6 +47,29 @@ jobs:
at: ~/nwnxee
- run: go get -u github.com/tcnksm/ghr
- run: ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME $CIRCLE_TAG ~/nwnxee/Binaries/
docs-deploy:
docker:
- image: node:8.10.0
steps:
- checkout
- attach_workspace:
at: Documentation
- run:
name: Install and configure dependencies
command: |
npm install -g --silent gh-pages@2.0.1
git config user.email "ci-build@nwnx.io"
git config user.name "ci-build"
- add_ssh_keys:
fingerprints:
- "5f:bd:64:bb:9e:4e:27:5e:44:34:2c:d4:5a:8c:2d:e7"
- run:
name: Move dark into a subdirectory of light for pages
command: |
mv Documentation/dark Documentation/light/
- run:
name: Deploy docs to gh-pages branch
command: gh-pages --dotfiles --message "[skip ci] Updates" --dist Documentation/light

workflows:
version: 2
Expand All @@ -40,6 +79,18 @@ workflows:
filters:
tags:
only: /.*/
- docs-build:
filters:
tags:
only: /.*/
- docs-deploy:
requires:
- build
- docs-build
filters:
branches:
only:
- master
- deploy:
requires:
- build
Expand Down
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
* text eol=lf
*.a binary
*.png binary
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
.vscode/
Binaries/
build-nwnx/
Documentation/
Loading

0 comments on commit c709b04

Please sign in to comment.