mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-09-01 18:19:59 -04:00
Fix generation appimage (#588)
* Update main.yml * Update main.yml * Update linux-compile.yml * Update linux-compile.yml * fix an error
This commit is contained in:
@@ -102,9 +102,14 @@ jobs:
|
||||
-DCMAKE_BUILD_TYPE=${{ matrix.config }} \
|
||||
-DCMAKE_TOOLCHAIN_FILE=/opt/vcpkg/scripts/buildsystems/vcpkg.cmake \
|
||||
-DVCPKG_TARGET_TRIPLET=x64-linux && \
|
||||
cmake --build build --parallel
|
||||
cmake --build build --parallel && \
|
||||
make -C torch type=release -j\$(nproc) && \
|
||||
torch/cmake-build-release/torch pack assets build/spaghetti.o2r o2r
|
||||
"
|
||||
|
||||
- name: Fix permissions
|
||||
run: sudo chown -R $(id -u):$(id -g) build
|
||||
|
||||
- name: Generate AppImage
|
||||
run: |
|
||||
docker run --rm \
|
||||
@@ -118,7 +123,6 @@ jobs:
|
||||
- name: Create Package
|
||||
run: |
|
||||
mkdir -p spaghetti-${{ matrix.config }}
|
||||
cp build/Spaghettify spaghetti-${{ matrix.config }}/ || true
|
||||
wget -O gamecontrollerdb.txt https://raw.githubusercontent.com/mdqinc/SDL_GameControllerDB/master/gamecontrollerdb.txt
|
||||
mv gamecontrollerdb.txt spaghetti-${{ matrix.config }}/
|
||||
cp build/*.appimage spaghetti-${{ matrix.config }}/ 2>/dev/null || true
|
||||
|
||||
Reference in New Issue
Block a user