Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
30 changes: 15 additions & 15 deletions .clangd
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
CompileFlags:
Add: [-std=c++20]

---

If:
PathMatch: include/SDK.h
Diagnostics:
UnusedIncludes: None

---

If:
PathMatch: .*
Diagnostics:
CompileFlags:
Add: [-std=c++20]
---
If:
PathMatch: include/SDK.h
Diagnostics:
UnusedIncludes: None
---
If:
PathMatch: .*
Diagnostics:
Suppress: [-Wunused-include:include/SDK.h]
86 changes: 43 additions & 43 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG REPORT] "
labels: bug
assignees: AmeliaCute, EltyDev

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
```



```


**Expected behavior**
```



```

**Screenshots / Videos**
If applicable, add screenshots to help explain your problem.

FLiAPI Version: `1.10`

Mod list:
```
-
-

```


**Additional context**
Add any other context about the problem here.
---
name: Bug report
about: Create a report to help us improve
title: "[BUG REPORT] "
labels: bug
assignees: AmeliaCute, EltyDev
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
```
```
**Expected behavior**
```
```
**Screenshots / Videos**
If applicable, add screenshots to help explain your problem.
FLiAPI Version: `1.10`
Mod list:
```
-
-
```
**Additional context**
Add any other context about the problem here.
84 changes: 42 additions & 42 deletions .github/workflows/build-check.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
name: "Build Check"

on:
push:
branches-ignore:
- master
pull_request:
branches:
- master

env:
BUILD_TYPE: Release

jobs:
build-check:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4

- name: Cache LLVM
id: cache-llvm
uses: actions/cache@v4
with:
path: C:\Program Files\LLVM
key: llvm-21.1.0-windows

- name: Install LLVM 21.1.0
if: steps.cache-llvm.outputs.cache-hit != 'true'
run: choco install llvm --version=21.1.0 -y
shell: powershell

- name: Add LLVM to PATH
run: echo "C:\Program Files\LLVM\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
shell: powershell

- name: Pull submodule
run: git submodule update --init

- name: Configure CMake with Clang-CL
run: cmake -B ${{github.workspace}}/build -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DMLDEBUG=OFF

- name: Build project
name: "Build Check"
on:
push:
branches-ignore:
- master
pull_request:
branches:
- master
env:
BUILD_TYPE: Release
jobs:
build-check:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Cache LLVM
id: cache-llvm
uses: actions/cache@v4
with:
path: C:\Program Files\LLVM
key: llvm-21.1.0-windows
- name: Install LLVM 21.1.0
if: steps.cache-llvm.outputs.cache-hit != 'true'
run: choco install llvm --version=21.1.0 -y
shell: powershell
- name: Add LLVM to PATH
run: echo "C:\Program Files\LLVM\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
shell: powershell
- name: Pull submodule
run: git submodule update --init
- name: Configure CMake with Clang-CL
run: cmake -B ${{github.workspace}}/build -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DMLDEBUG=OFF
- name: Build project
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
146 changes: 73 additions & 73 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -1,74 +1,74 @@
name: "Build and deploy project"

on:
push:
branches: [ "master" ]

env:
BUILD_TYPE: Release

jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4

- name: Cache LLVM
id: cache-llvm
uses: actions/cache@v4
with:
path: C:\Program Files\LLVM
key: llvm-21.1.0-windows

- name: Install LLVM 21.1.0
if: steps.cache-llvm.outputs.cache-hit != 'true'
run: choco install llvm --version=21.1.0 -y
shell: powershell

- name: Add LLVM to PATH
run: echo "C:\Program Files\LLVM\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
shell: powershell

- name: Pull submodule
run: git submodule update --init

- name: Configure CMake with Clang-CL
run: cmake -B ${{github.workspace}}/build -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DMLDEBUG=OFF

- name: Build project
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: fli-modloader
path: |
./build/ModLoader.dll
./build/ModLoader.lib
./build/DllProxy/version.dll

release:
needs: build
runs-on: ubuntu-latest
steps:
- name: Set up date-based tag
run: |
DATE_TAG="v$(date +'%Y%m%d.%H%M')"
echo "TAG_NAME=$DATE_TAG" >> $GITHUB_ENV
echo "tag=$DATE_TAG"

- name: Download Artifacts
uses: actions/download-artifact@v4

- name: Create GitHub Release
id: create_release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ env.TAG_NAME }}
body: "Automated release of ${{ github.ref_name }}."
generate_release_notes: true
token: ${{ secrets.RELEASE_CD_TOKEN }}
files: |
./fli-modloader/ModLoader.dll
./fli-modloader/ModLoader.lib
name: "Build and deploy project"
on:
push:
branches: [ "master" ]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Cache LLVM
id: cache-llvm
uses: actions/cache@v4
with:
path: C:\Program Files\LLVM
key: llvm-21.1.0-windows
- name: Install LLVM 21.1.0
if: steps.cache-llvm.outputs.cache-hit != 'true'
run: choco install llvm --version=21.1.0 -y
shell: powershell
- name: Add LLVM to PATH
run: echo "C:\Program Files\LLVM\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
shell: powershell
- name: Pull submodule
run: git submodule update --init
- name: Configure CMake with Clang-CL
run: cmake -B ${{github.workspace}}/build -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DMLDEBUG=OFF
- name: Build project
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: fli-modloader
path: |
./build/ModLoader.dll
./build/ModLoader.lib
./build/DllProxy/version.dll
release:
needs: build
runs-on: ubuntu-latest
steps:
- name: Set up date-based tag
run: |
DATE_TAG="v$(date +'%Y%m%d.%H%M')"
echo "TAG_NAME=$DATE_TAG" >> $GITHUB_ENV
echo "tag=$DATE_TAG"
- name: Download Artifacts
uses: actions/download-artifact@v4
- name: Create GitHub Release
id: create_release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ env.TAG_NAME }}
body: "Automated release of ${{ github.ref_name }}."
generate_release_notes: true
token: ${{ secrets.RELEASE_CD_TOKEN }}
files: |
./fli-modloader/ModLoader.dll
./fli-modloader/ModLoader.lib
./fli-modloader/DllProxy/version.dll
Loading