From 5f072da2b8631b89c36c20970127600bc2ec6539 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=97=B1=20PixelyIon?= Date: Mon, 23 Mar 2020 21:40:22 +0530 Subject: [PATCH] Fix GitHub Actions Build + Move Stack to Shared Memory This commit mainly fixes GitHub Actions builds which were broken due to an outdated version of Android NDK. In addition, it moves all stack to shared memory. --- .github/workflows/ci.yml | 2 +- .idea/codeStyles/Project.xml | 3 - .idea/inspectionProfiles/Project_Default.xml | 1530 ++++++++++++++++- .idea/jsonSchemas.xml | 25 + .../cpp/skyline/kernel/types/KProcess.cpp | 4 +- .../main/cpp/skyline/kernel/types/KProcess.h | 6 +- .../skyline/kernel/types/KSharedMemory.cpp | 4 +- .../cpp/skyline/kernel/types/KSharedMemory.h | 3 +- app/src/main/cpp/skyline/nce.cpp | 26 +- app/src/main/cpp/skyline/os.cpp | 13 +- build.gradle | 2 +- 11 files changed, 1585 insertions(+), 33 deletions(-) create mode 100644 .idea/jsonSchemas.xml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6261b0dc..6f6f9f20 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: run: chmod +x gradlew - name: Install CMake from Android SDK Manager - run: yes | sdkmanager --install "cmake;3.10.2.4988404" | grep -v = || true + run: yes | sdkmanager --install "ndk;21.0.6113669" "cmake;3.10.2.4988404" | grep -v = || true - name: Android Lint run: ./gradlew --stacktrace lint diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index 30c29deb..f4faad14 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -3,9 +3,6 @@