mirror of
https://github.com/jcefmaven/jcefbuild.git
synced 2025-09-25 08:26:37 +08:00
Add linux/arm/v7
This commit is contained in:
parent
379bd41f90
commit
dae0e19758
32
.github/workflows/build-linux-arm.yml
vendored
Normal file
32
.github/workflows/build-linux-arm.yml
vendored
Normal 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 }}
|
||||||
|
|
@ -141,6 +141,8 @@ elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
|
|||||||
set(CEF_PLATFORM "linux64")
|
set(CEF_PLATFORM "linux64")
|
||||||
elseif("${PROJECT_ARCH}" STREQUAL "arm64")
|
elseif("${PROJECT_ARCH}" STREQUAL "arm64")
|
||||||
set(CEF_PLATFORM "linuxarm64")
|
set(CEF_PLATFORM "linuxarm64")
|
||||||
|
elseif("${PROJECT_ARCH}" STREQUAL "arm/v7")
|
||||||
|
set(CEF_PLATFORM "linuxarm")
|
||||||
else()
|
else()
|
||||||
set(CEF_PLATFORM "linux32")
|
set(CEF_PLATFORM "linux32")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user