forked from FrictionalGames/AmnesiaTheDarkDescent
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: fix broken editor planes (#120)
* feat: fix broken editor planes Signed-off-by: Michael Pollind <[email protected]> * copy in il library for linux and fix build for windows Signed-off-by: Michael Pollind <[email protected]> * feat: tweak Signed-off-by: Michael Pollind <[email protected]> * feat: fix viewport for window editor Signed-off-by: Michael Pollind <[email protected]> * feat: build yml Signed-off-by: Michael Pollind <[email protected]> --------- Signed-off-by: Michael Pollind <[email protected]>
- Loading branch information
Showing
21 changed files
with
362 additions
and
357 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,20 +21,17 @@ jobs: | |
sudo apt-get install ninja-build cmake libdevil-dev mesa-common-dev libxmu-dev libxi-dev libgl-dev libx11-dev libxft-dev libxext-dev libwayland-dev libxkbcommon-dev libegl1-mesa-dev libglu1-mesa-dev libgtk-3-dev libvulkan-dev vulkan-tools glslang-tools | ||
- name: Configure | ||
run: | | ||
mkdir ${{ github.workspace }}/build && cd ${{ github.workspace }}/build | ||
cd ${{ github.workspace }} | ||
cmake ${{ github.workspace }} -DVCPKG_INSTALL_OPTIONS="--binarysource=clear\;x-gha,readwrite" -G Ninja | ||
- name: Build | ||
run: | | ||
cd ${{ github.workspace }}/build | ||
cd ${{ github.workspace }} | ||
ninja | ||
- name: Package Amnesia | ||
working-directory: ./build | ||
run: tar -czvf ../amnesia-linux-x86-64-release.tar.gz * | ||
- name: Upload Amnesia artifact | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: amnesia-linux-x86-64-release | ||
path: amnesia-linux-x86-64-release.tar.gz | ||
path: build | ||
windows: | ||
runs-on: windows-latest | ||
steps: | ||
|
@@ -53,17 +50,13 @@ jobs: | |
uses: microsoft/[email protected] | ||
- name: Configure | ||
run: | | ||
mkdir ${{ github.workspace }}\build && cd ${{ github.workspace }}\build | ||
cmake ${{ github.workspace }} -DVCPKG_INSTALL_OPTIONS="--binarysource=clear\;x-gha,readwrite" -DCMAKE_BUILD_TYPE:STRING=Release -DAMNESIA_GAME_DIRECTORY:STRING='' -G "Visual Studio 17 2022" -A x64 | ||
- name: Build | ||
run: | | ||
cd ${{ github.workspace }}\build | ||
cd ${{ github.workspace }} | ||
msbuild ALL_BUILD.vcxproj /property:Configuration=Release | ||
- name: Package Amnesia | ||
working-directory: .\build | ||
run: 7z a ..\amnesia-win-x86-64-release.zip * | ||
- name: Upload Amnesia artifact | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: amnesia-win-x86-64-release | ||
path: amnesia-win-x86-64-release.zip | ||
name: amnesia-win32-x86-64-release | ||
path: build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.