mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-15 16:01:51 +00:00
Merge pull request #776 from MihailRis/fix-linux-build-pipeline
fix appimage build pipeline
This commit is contained in:
commit
35498e1c0f
4 changed files with 7 additions and 5 deletions
2
.github/workflows/appimage.yml
vendored
2
.github/workflows/appimage.yml
vendored
|
|
@ -36,7 +36,7 @@ jobs:
|
||||||
sudo ln -s /usr/lib/x86_64-linux-gnu/libluajit-5.1.a /usr/lib/x86_64-linux-gnu/liblua5.1.a
|
sudo ln -s /usr/lib/x86_64-linux-gnu/libluajit-5.1.a /usr/lib/x86_64-linux-gnu/liblua5.1.a
|
||||||
sudo ln -s /usr/include/luajit-2.1 /usr/include/lua
|
sudo ln -s /usr/include/luajit-2.1 /usr/include/lua
|
||||||
# install EnTT
|
# install EnTT
|
||||||
git clone https://github.com/skypjack/entt.git
|
git clone --branch v3.16.0 https://github.com/skypjack/entt.git
|
||||||
cd entt/build
|
cd entt/build
|
||||||
cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Release -DENTT_INSTALL=on ..
|
cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Release -DENTT_INSTALL=on ..
|
||||||
sudo make install
|
sudo make install
|
||||||
|
|
|
||||||
2
.github/workflows/cmake.yml
vendored
2
.github/workflows/cmake.yml
vendored
|
|
@ -44,7 +44,7 @@ jobs:
|
||||||
sudo ln -s /usr/lib/x86_64-linux-gnu/libluajit-5.1.a /usr/lib/x86_64-linux-gnu/liblua-5.1.a
|
sudo ln -s /usr/lib/x86_64-linux-gnu/libluajit-5.1.a /usr/lib/x86_64-linux-gnu/liblua-5.1.a
|
||||||
sudo ln -s /usr/include/luajit-2.1 /usr/include/lua
|
sudo ln -s /usr/include/luajit-2.1 /usr/include/lua
|
||||||
# install EnTT
|
# install EnTT
|
||||||
git clone https://github.com/skypjack/entt.git
|
git clone --branch v3.16.0 https://github.com/skypjack/entt.git
|
||||||
cd entt/build
|
cd entt/build
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release -DENTT_INSTALL=on ..
|
cmake -DCMAKE_BUILD_TYPE=Release -DENTT_INSTALL=on ..
|
||||||
sudo make install
|
sudo make install
|
||||||
|
|
|
||||||
|
|
@ -37,8 +37,8 @@ RUN wget https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cm
|
||||||
rm cmake-${CMAKE_VERSION}-linux-x86_64.sh
|
rm cmake-${CMAKE_VERSION}-linux-x86_64.sh
|
||||||
|
|
||||||
|
|
||||||
# Install EnTT
|
# Install specific EnTT version (the latest version that supports C++17).
|
||||||
RUN git clone https://github.com/skypjack/entt.git && \
|
RUN git clone --branch v3.16.0 https://github.com/skypjack/entt.git && \
|
||||||
cd entt/build && \
|
cd entt/build && \
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release -DENTT_INSTALL=on .. && \
|
cmake -DCMAKE_BUILD_TYPE=Release -DENTT_INSTALL=on .. && \
|
||||||
make install && \
|
make install && \
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,10 @@
|
||||||
|
|
||||||
#### Install EnTT
|
#### Install EnTT
|
||||||
|
|
||||||
|
Installing last version that supports C++17.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git clone https://github.com/skypjack/entt.git
|
git clone --branch v3.16.0 https://github.com/skypjack/entt.git
|
||||||
cd entt
|
cd entt
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release -DENTT_INSTALL=ON ..
|
cmake -DCMAKE_BUILD_TYPE=Release -DENTT_INSTALL=ON ..
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue