mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-02-03 00:33:55 +03:00
Updated github workflows
This commit is contained in:
parent
a4aa3ada8f
commit
52fc41e499
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Install dependencies
|
- 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
|
- name: ccache
|
||||||
uses: hendrikmuhs/ccache-action@v1.2.13
|
uses: hendrikmuhs/ccache-action@v1.2.13
|
||||||
with:
|
with:
|
||||||
@ -32,14 +32,12 @@ jobs:
|
|||||||
${{ runner.os }}-otr-build-${{ github.ref }}
|
${{ runner.os }}-otr-build-${{ github.ref }}
|
||||||
${{ runner.os }}-otr-build-
|
${{ runner.os }}-otr-build-
|
||||||
path: |
|
path: |
|
||||||
build-cmake
|
tools/Torch/cmake-build-release
|
||||||
SDL2-2.28.5
|
|
||||||
tinyxml2-10.0.0
|
|
||||||
- name: Generate starship.otr
|
- name: Generate starship.otr
|
||||||
run: |
|
run: |
|
||||||
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
|
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
|
make -C tools/Torch type=release -j12
|
||||||
cmake --build build-cmake --config Release --target GeneratePortOTR -j3
|
tools/Torch/cmake-build-release/torch pack port starship.otr
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: starship.otr
|
name: starship.otr
|
||||||
|
Loading…
Reference in New Issue
Block a user