Add linux/arm/v7

This commit is contained in:
FriwiDev 2021-11-16 17:00:28 +01:00
parent 379bd41f90
commit dae0e19758
2 changed files with 34 additions and 0 deletions

32
.github/workflows/build-linux-arm.yml vendored Normal file
View File

@ -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 }}

View File

@ -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()