forked from Kolyah35/minecraft-pe-0.6.1
oh i forgot headers
This commit is contained in:
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@@ -55,6 +55,11 @@ jobs:
|
||||
path: .xwin-cache
|
||||
key: xwin-win-v1-${{ hashFiles('.xwin-cache/**/*') }}
|
||||
|
||||
- name: Download Windows headers
|
||||
run: ./xwin --arch x86_64 --sdk-version 10.0.22621 --accept-license splat --include-debug-libs
|
||||
if: steps.xwin-cache.outputs.cache-hit != 'true'
|
||||
|
||||
|
||||
- name: Download clang-msvc-sdk toolchain
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
@@ -65,7 +70,7 @@ jobs:
|
||||
- name: Install Clang
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y wget lsb-release software-properties-common gnupg ninja
|
||||
sudo apt-get install -y wget lsb-release software-properties-common gnupg
|
||||
|
||||
wget https://apt.llvm.org/llvm.sh
|
||||
chmod +x llvm.sh
|
||||
@@ -88,7 +93,7 @@ jobs:
|
||||
|
||||
- name: Configure CMake
|
||||
working-directory: ${{github.workspace}}/build
|
||||
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -G Ninja
|
||||
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
|
||||
env:
|
||||
SPLAT_DIR: ${{ github.workspace }}/.xwin-cache/splat
|
||||
TOOLCHAIN: ${{ github.workspace }}/toolchain/clang-cl-msvc.cmake
|
||||
|
||||
Reference in New Issue
Block a user