From 52fc41e499ac08adae4eb7069c5a506c0cad07ba Mon Sep 17 00:00:00 2001 From: KiritoDv Date: Mon, 9 Dec 2024 10:53:37 -0600 Subject: [PATCH] Updated github workflows --- .github/workflows/main.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a0fc63dc..138ed02c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ jobs: with: submodules: true - name: Install dependencies - run: sudo apt-get install gcc g++ git cmake ninja-build lsb-release libsdl2-dev libpng-dev libsdl2-net-dev libzip-dev zipcmp zipmerge ziptool nlohmann-json3-dev libtinyxml2-dev libspdlog-dev libboost-dev libopengl-dev + run: sudo apt-get install gcc g++ git cmake ninja-build lsb-release - name: ccache uses: hendrikmuhs/ccache-action@v1.2.13 with: @@ -32,14 +32,12 @@ jobs: ${{ runner.os }}-otr-build-${{ github.ref }} ${{ runner.os }}-otr-build- path: | - build-cmake - SDL2-2.28.5 - tinyxml2-10.0.0 + tools/Torch/cmake-build-release - name: Generate starship.otr run: | export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" - cmake --no-warn-unused-cli -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE:STRING=Release - cmake --build build-cmake --config Release --target GeneratePortOTR -j3 + make -C tools/Torch type=release -j12 + tools/Torch/cmake-build-release/torch pack port starship.otr - uses: actions/upload-artifact@v4 with: name: starship.otr