mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-17 03:37:08 -06:00
Compare commits
29 Commits
waypointpa
...
automation
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
844516f159 | ||
|
|
677a0c9bdb | ||
|
|
ff95a37b20 | ||
|
|
40a5d5ebab | ||
|
|
bd8e519479 | ||
|
|
669785577a | ||
|
|
031fd237be | ||
|
|
0655a1d64f | ||
|
|
d5c1840f70 | ||
|
|
4b86312317 | ||
|
|
1934c112f2 | ||
|
|
bb4fa39d12 | ||
|
|
a94729afb7 | ||
|
|
180b1d1bfc | ||
|
|
f4bb7c8b0c | ||
|
|
4ee3db2c64 | ||
|
|
208af68ca0 | ||
|
|
4212e56654 | ||
|
|
20faad8f14 | ||
|
|
66b5dd0d54 | ||
|
|
912999ff7f | ||
|
|
2965bd8f8c | ||
|
|
be66da0fb0 | ||
|
|
d38aec016b | ||
|
|
2aa029d598 | ||
|
|
00647a45a9 | ||
|
|
eec595594c | ||
|
|
a16b8a2339 | ||
|
|
f1bf3b25dc |
30
.github/workflows/build-and-test.yml
vendored
30
.github/workflows/build-and-test.yml
vendored
@@ -2,9 +2,9 @@ name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
branches: [ main, automation ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
branches: [ main, automation ]
|
||||
|
||||
jobs:
|
||||
build-and-test:
|
||||
@@ -36,22 +36,16 @@ jobs:
|
||||
testPreset: "ci-${{matrix.os}}"
|
||||
- name: artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
if: ${{ github.ref == 'ref/head/main' }}
|
||||
with:
|
||||
name: build-${{matrix.os}}
|
||||
path: |
|
||||
build
|
||||
!build/tests
|
||||
!build/Testing
|
||||
!build/CMakeFiles
|
||||
!build/DartConfiguration.tcl
|
||||
!build/CTestTestfile.cmake
|
||||
!build/CMakeCache.txt
|
||||
!build/build.ninja
|
||||
!build/_deps
|
||||
!build/cmake_install.cmake
|
||||
!build/*.a
|
||||
!build/*.lib
|
||||
!build/*.dir
|
||||
!build/*.vcxproj
|
||||
!build/*.vcxproj.filters
|
||||
build/*Server*
|
||||
build/*.ini
|
||||
build/*.so
|
||||
build/*.dll
|
||||
build/vanity/
|
||||
build/navmeshes/
|
||||
build/migrations/
|
||||
build/*.dcf
|
||||
!build/*.pdb
|
||||
!build/d*/
|
||||
|
||||
116
.github/workflows/publishing.yml
vendored
Normal file
116
.github/workflows/publishing.yml
vendored
Normal file
@@ -0,0 +1,116 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- versions.txt
|
||||
|
||||
jobs:
|
||||
build-and-test:
|
||||
name: Build & Test (${{ matrix.os }})
|
||||
runs-on: ${{ matrix.os }}
|
||||
continue-on-error: true
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ windows-2022, ubuntu-20.04, macos-11 ]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true
|
||||
- name: Add msbuild to PATH (Windows only)
|
||||
if: ${{ matrix.os == 'windows-2022' }}
|
||||
uses: microsoft/setup-msbuild@v1.1
|
||||
with:
|
||||
vs-version: '[17,18)'
|
||||
msbuild-architecture: x64
|
||||
- name: Install libssl (Mac Only)
|
||||
if: ${{ matrix.os == 'macos-11' }}
|
||||
run: brew install openssl@3
|
||||
- name: cmake
|
||||
uses: lukka/run-cmake@v10
|
||||
with:
|
||||
configurePreset: "ci-${{matrix.os}}"
|
||||
buildPreset: "ci-${{matrix.os}}"
|
||||
testPreset: "ci-${{matrix.os}}"
|
||||
- name: artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: build-${{matrix.os}}
|
||||
path: |
|
||||
build/*Server*
|
||||
build/*.ini
|
||||
build/*.so
|
||||
build/*.dll
|
||||
build/vanity/
|
||||
build/navmeshes/
|
||||
build/migrations/
|
||||
build/*.dcf
|
||||
!build/*.pdb
|
||||
!build/d*/
|
||||
|
||||
draft-release:
|
||||
needs: build-and-test
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Get Previous Tag
|
||||
id: previoustag
|
||||
uses: "WyriHaximus/github-action-get-previous-tag@v1"
|
||||
with:
|
||||
fallback: v1.0
|
||||
|
||||
- name: Generate Changelog
|
||||
uses: Bullrich/generate-release-changelog@master
|
||||
id: changelog
|
||||
env:
|
||||
REPO: ${{ github.repository }}
|
||||
with:
|
||||
from-tag: ${{ steps.previoustag.outputs.tag }}
|
||||
to-tag: HEAD
|
||||
|
||||
|
||||
- name: Take a gander at versions.txt to get updated information
|
||||
run: |
|
||||
IFS=" - " read -ra PARTS <<< "$(head -n 1 versions.txt)"
|
||||
echo "VERSION=${PARTS[0]}" >> $GITHUB_ENV
|
||||
echo "DESCRIPTION=$(IFS=' '; echo "${PARTS[*]:1}")" >> $GITHUB_ENV
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: v${{ env.VERSION }}
|
||||
release_name: Release v${{ env.VERSION }}
|
||||
body: "Draft release for version v${{ env.VERSION }} \n\n ${{ env.DESCRIPTION }} \n\n ${{ steps.changelog.outputs.changelog }}"
|
||||
draft: true
|
||||
|
||||
- name: Download all workflow run artifacts
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
path: artifacts
|
||||
|
||||
- name: Upload Release Assets
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
cd artifacts
|
||||
for folder in */; do
|
||||
zip -r "${folder%/}.zip" "$folder"
|
||||
done
|
||||
ls
|
||||
for file in *.zip; do
|
||||
echo "Uploading $file"
|
||||
curl --progress-bar \
|
||||
-X POST \
|
||||
-H "Accept: application/vnd.github+json" \
|
||||
-H "Authorization: token ${{ env.GITHUB_TOKEN }}" \
|
||||
--upload-file "$file" \
|
||||
-H "Content-Type: $(file --mime-type -b $file)" \
|
||||
"https://uploads.github.com/repos/${{ github.repository }}/releases/${{ steps.create_release.outputs.id }}/assets?name=$(basename $file)"
|
||||
done
|
||||
@@ -1,3 +1,4 @@
|
||||
1.2 - I genuinely have run out of bad among us jokes, what test text do I use now?
|
||||
1.0 - Final cleanup and bug fixing for public release
|
||||
0.9 - Includes BBB without the need for a UGC server, cannon cove minigame, and bug fixes.
|
||||
0.8 - Added Ninjago! and it's various features + frakjaw minigame. AG survival now works.
|
||||
@@ -7,4 +8,4 @@
|
||||
0.4 - Added Havok to replace Bullet, Instancing, Quickbuilds, rockets, and a ton more fixes and additions.
|
||||
0.3 - FrostBurgh, Snowdrift and Snowman's Land testing version. Includes bodged systems.
|
||||
0.2 - Transfer to VS2019 & Bullet
|
||||
0.1 - Initial transfer from NixLU, up until BehaviorManager inclusion
|
||||
0.1 - Initial transfer from NixLU, up until BehaviorManager inclusion
|
||||
|
||||
Reference in New Issue
Block a user