Update actions
This commit is contained in:
parent
a877d232e0
commit
085df0ec01
6
.github/workflows/platform_natives.yaml
vendored
6
.github/workflows/platform_natives.yaml
vendored
@ -210,9 +210,7 @@ jobs:
|
|||||||
vs-version: '[16.4,16.5)'
|
vs-version: '[16.4,16.5)'
|
||||||
- name: Setup cmake
|
- name: Setup cmake
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
uses: jwlawson/actions-setup-cmake@v1.9
|
- uses: lukka/get-cmake@v3.21.2
|
||||||
with:
|
|
||||||
cmake-version: '3.16.x'
|
|
||||||
- name: Set up Maven
|
- name: Set up Maven
|
||||||
uses: stCarolas/setup-maven@v4.2
|
uses: stCarolas/setup-maven@v4.2
|
||||||
with:
|
with:
|
||||||
@ -222,7 +220,7 @@ jobs:
|
|||||||
uses: ilammy/setup-nasm@v1
|
uses: ilammy/setup-nasm@v1
|
||||||
- name: Restore artifacts, or setup vcpkg (do not install any package)
|
- name: Restore artifacts, or setup vcpkg (do not install any package)
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
uses: lukka/run-vcpkg@v10.1
|
uses: lukka/run-vcpkg@v10.2
|
||||||
with:
|
with:
|
||||||
# Just install vcpkg for now, do not install any ports in this step yet.
|
# Just install vcpkg for now, do not install any ports in this step yet.
|
||||||
setupOnly: true
|
setupOnly: true
|
||||||
|
@ -79,7 +79,7 @@ fi
|
|||||||
echo "Configuring CMake..."
|
echo "Configuring CMake..."
|
||||||
mkdir ./generated/td_tools/
|
mkdir ./generated/td_tools/
|
||||||
cd ./generated/td_tools/
|
cd ./generated/td_tools/
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release -DTD_ENABLE_JNI=ON -DTD_ENABLE_LTO=ON ${CMAKE_EXTRA_ARGUMENTS} ../implementation/
|
cmake -DCMAKE_BUILD_TYPE=Release -DTD_ENABLE_JNI=ON ${CMAKE_EXTRA_ARGUMENTS} ../implementation/
|
||||||
|
|
||||||
# Run cmake to generate common tools
|
# Run cmake to generate common tools
|
||||||
echo "Generating cross compilation tools..."
|
echo "Generating cross compilation tools..."
|
||||||
|
Loading…
Reference in New Issue
Block a user