Skip to content

Commit

Permalink
update github ci dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
portaloffreedom committed Oct 12, 2024
1 parent 0824ae2 commit 4efa24f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- cron: '0 0 * * *'

jobs:

windows:
runs-on: windows-latest
steps:
Expand All @@ -24,7 +24,7 @@ jobs:
run: |
"C:/Program Files/Microsoft Visual Studio/2022/Enterprise/MSBuild/Current/Bin/MSBuild.exe" WickedEngine.sln /t:clean /m /p:Configuration=Release /p:Platform=x64
"C:/Program Files/Microsoft Visual Studio/2022/Enterprise/MSBuild/Current/Bin/MSBuild.exe" WickedEngine.sln /t:Editor_Windows /m /p:Configuration=Release /p:Platform=x64
- name: Move files
shell: cmd
run: |
Expand All @@ -33,7 +33,7 @@ jobs:
move Editor\startup.lua .\
move Editor\languages .\
move Editor\fonts .\
- name: Package Editor
uses: actions/upload-artifact@v4
with:
Expand All @@ -45,7 +45,7 @@ jobs:
startup.lua
Editor_Windows.exe
linux:
runs-on: ubuntu-latest
steps:
Expand All @@ -54,15 +54,15 @@ jobs:
- name: Install dependencies
run: |
sudo apt update
sudo apt install libsdl2-dev
sudo apt install libsdl3-dev
- name: Initial compile
run: |
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j$(nproc)
- name: Generate shader dump
run: |
cd build/WickedEngine
Expand All @@ -73,15 +73,15 @@ jobs:
run: |
cd build
make -B -j $(nproc)
- name: Move files
run: |
mv build/Editor/WickedEngineEditor ./Editor_Linux
mv Editor/config.ini ./
mv Editor/startup.lua ./
mv Editor/languages ./
mv Editor/fonts ./
- name: Package Editor
uses: actions/upload-artifact@v4
with:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: |
"C:/Program Files/Microsoft Visual Studio/2022/Enterprise/MSBuild/Current/Bin/MSBuild.exe" WickedEngine.sln /t:clean /m /p:Configuration=Release /p:Platform=x64
"C:/Program Files/Microsoft Visual Studio/2022/Enterprise/MSBuild/Current/Bin/MSBuild.exe" WickedEngine.sln /t:Editor_Windows /m /p:Configuration=Release /p:Platform=x64
- name: Move files
shell: cmd
run: |
Expand All @@ -32,7 +32,7 @@ jobs:
move Editor\startup.lua .\
move Editor\languages .\
move Editor\fonts .\
- name: Package Editor
uses: actions/upload-artifact@v4
with:
Expand All @@ -44,7 +44,7 @@ jobs:
startup.lua
Editor_Windows.exe
linux:
runs-on: ubuntu-latest
steps:
Expand All @@ -60,15 +60,15 @@ jobs:
- name: Install dependencies
run: |
sudo apt update
sudo apt install libsdl2-dev ccache
sudo apt install libsdl3-dev ccache
- name: Initial compile
run: |
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
CCACHE_NODIRECT=1 make -j$(nproc)
- name: Generate shader dump
run: |
cd build/WickedEngine
Expand All @@ -80,15 +80,15 @@ jobs:
cd build
CCACHE_NODIRECT=1 make -B -j $(nproc)
- name: Move binaries
run: |
mv build/Editor/WickedEngineEditor ./Editor_Linux
mv Editor/config.ini ./
mv Editor/startup.lua ./
mv Editor/languages ./
mv Editor/fonts ./
- name: Package Editor
uses: actions/upload-artifact@v4
with:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: |
"C:/Program Files/Microsoft Visual Studio/2022/Enterprise/MSBuild/Current/Bin/MSBuild.exe" WickedEngine.sln /t:clean /m /p:Configuration=Release /p:Platform=x64
"C:/Program Files/Microsoft Visual Studio/2022/Enterprise/MSBuild/Current/Bin/MSBuild.exe" WickedEngine.sln /t:Editor_Windows /m /p:Configuration=Release /p:Platform=x64
- name: Move files
shell: cmd
run: |
Expand All @@ -33,7 +33,7 @@ jobs:
move Editor\startup.lua .\
move Editor\languages .\
move Editor\fonts .\
- name: Package Editor
uses: actions/upload-artifact@v4
with:
Expand All @@ -45,7 +45,7 @@ jobs:
startup.lua
Editor_Windows.exe
linux:
runs-on: ubuntu-latest
steps:
Expand All @@ -62,15 +62,15 @@ jobs:
- name: Install dependencies
run: |
sudo apt update
sudo apt install libsdl2-dev ccache
sudo apt install libsdl3-dev ccache
- name: Initial compile
run: |
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
CCACHE_NODIRECT=1 make -j$(nproc)
- name: Generate shader dump
run: |
cd build/WickedEngine
Expand All @@ -82,15 +82,15 @@ jobs:
cd build
CCACHE_NODIRECT=1 make -B -j $(nproc)
- name: Move files
run: |
mv build/Editor/WickedEngineEditor ./Editor_Linux
mv Editor/config.ini ./
mv Editor/startup.lua ./
mv Editor/languages ./
mv Editor/fonts ./
- name: Package Editor
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 4efa24f

Please sign in to comment.