diff --git a/.github/workflows/build-linux-arm.yml b/.github/workflows/build-linux-arm.yml new file mode 100644 index 0000000..5cb512d --- /dev/null +++ b/.github/workflows/build-linux-arm.yml @@ -0,0 +1,32 @@ +name: build-linux-arm + +on: + workflow_dispatch: + inputs: + repo: + description: 'Git repository to clone' + required: true + default: 'https://bitbucket.org/chromiumembedded/java-cef.git' + ref: + description: 'Git commit id to checkout' + required: true + default: 'master' + +jobs: + build-linux-arm: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Set up QEMU + uses: docker/setup-qemu-action@master + with: + platforms: all + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + - + name: Build + run: | + chmod +x compile_linux.sh + ./compile_linux.sh arm/v7 Release ${{ github.event.inputs.repo }} ${{ github.event.inputs.ref }} + diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ef9006..fe88f7d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -141,6 +141,8 @@ elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") set(CEF_PLATFORM "linux64") elseif("${PROJECT_ARCH}" STREQUAL "arm64") set(CEF_PLATFORM "linuxarm64") + elseif("${PROJECT_ARCH}" STREQUAL "arm/v7") + set(CEF_PLATFORM "linuxarm") else() set(CEF_PLATFORM "linux32") endif()