mirror of
				https://github.com/jcefmaven/jcefbuild.git
				synced 2025-11-04 16:33:40 +08:00 
			
		
		
		
	Remove linux 386 due to dropped support in chromium 104 and upwards
This commit is contained in:
		
							
								
								
									
										28
									
								
								.github/workflows/build-all.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										28
									
								
								.github/workflows/build-all.yml
									
									
									
									
										vendored
									
									
								
							@@ -85,34 +85,6 @@ jobs:
 | 
			
		||||
          asset_content_type: application/octet-stream
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  build-linux-i386:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    needs: create-release
 | 
			
		||||
    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 386 Release ${{ github.event.inputs.repo }} ${{ github.event.inputs.ref }}
 | 
			
		||||
      - name: Export distribution
 | 
			
		||||
        uses: actions/upload-release-asset@v1
 | 
			
		||||
        env:
 | 
			
		||||
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 | 
			
		||||
        with:
 | 
			
		||||
          upload_url: ${{ needs.create-release.outputs.upload_url }}
 | 
			
		||||
          asset_path: out/binary_distrib.tar.gz
 | 
			
		||||
          asset_name: linux-i386.tar.gz
 | 
			
		||||
          asset_content_type: application/octet-stream
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  build-linux-arm64:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    needs: create-release
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										37
									
								
								.github/workflows/build-linux-i386.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										37
									
								
								.github/workflows/build-linux-i386.yml
									
									
									
									
										vendored
									
									
								
							@@ -1,37 +0,0 @@
 | 
			
		||||
name: build-linux-i386
 | 
			
		||||
 | 
			
		||||
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-i386:
 | 
			
		||||
    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 386 Release ${{ github.event.inputs.repo }} ${{ github.event.inputs.ref }}
 | 
			
		||||
      -
 | 
			
		||||
        name: Export artifacts
 | 
			
		||||
        uses: actions/upload-artifact@v2
 | 
			
		||||
        with:
 | 
			
		||||
          name: linux-i386.tar.gz
 | 
			
		||||
          path: out/binary_distrib.tar.gz
 | 
			
		||||
@@ -12,7 +12,7 @@
 | 
			
		||||
<table>
 | 
			
		||||
  <tr>
 | 
			
		||||
    <td width="12%"></td>
 | 
			
		||||
    <td width="22%"><a href="#"><img src="https://simpleicons.org/icons/linux.svg" alt="linux" width="32" height="32"></a><br/><b>amd64, arm64, i386 & arm</b></td>
 | 
			
		||||
    <td width="22%"><a href="#"><img src="https://simpleicons.org/icons/linux.svg" alt="linux" width="32" height="32"></a><br/><b>amd64, arm64 & arm</b></td>
 | 
			
		||||
    <td width="22%"><a href="#"><img src="https://simpleicons.org/icons/windows.svg" alt="windows" width="32" height="32"></a><br/><b>amd64 & i386</b></td>
 | 
			
		||||
    <td width="22%"><a href="#"><img src="https://simpleicons.org/icons/windows.svg" alt="windows" width="32" height="32"></a><br/><b>arm64</b></td>
 | 
			
		||||
    <td width="22%"><a href="#"><img src="https://simpleicons.org/icons/apple.svg" alt="apple" width="32" height="32"></a><br/><b>amd64 & arm64</b></td>
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,7 @@ if [ $# -lt 2 ] || [ $# -eq 3 ]
 | 
			
		||||
  then
 | 
			
		||||
    echo "Usage: ./compile_linux.sh <architecture> <buildType> [<gitrepo> <gitref>]"
 | 
			
		||||
    echo ""
 | 
			
		||||
    echo "architecture: the target architecture to build for. Architectures are either arm64, arm/v6, 386 or amd64."
 | 
			
		||||
    echo "architecture: the target architecture to build for. Architectures are either arm64, arm/v6 or amd64."
 | 
			
		||||
    echo "buildType: either Release or Debug"
 | 
			
		||||
    echo "gitrepo: git repository url to clone"
 | 
			
		||||
    echo "gitref: the git commit id to pull"
 | 
			
		||||
 
 | 
			
		||||
@@ -76,7 +76,6 @@ mv LICENSE.txt ../LICENSE
 | 
			
		||||
  echo "  \"actions_url\": \"$3\", "
 | 
			
		||||
  echo "  \"actions_number\": \"$4\", "
 | 
			
		||||
  echo "  \"filename_linux_amd64\": \"linux-amd64.tar.gz\", "
 | 
			
		||||
  echo "  \"filename_linux_i386\": \"linux-i386.tar.gz\", "
 | 
			
		||||
  echo "  \"filename_linux_arm64\": \"linux-arm64.tar.gz\", "
 | 
			
		||||
  echo "  \"filename_linux_arm\": \"linux-arm.tar.gz\", "
 | 
			
		||||
  echo "  \"filename_windows_amd64\": \"windows-amd64.tar.gz\", "
 | 
			
		||||
@@ -88,7 +87,6 @@ mv LICENSE.txt ../LICENSE
 | 
			
		||||
  echo "  \"release_tag\": \"$real_release_tag\","
 | 
			
		||||
  echo "  \"release_url\": \"https://github.com/$5/releases/tag/$release_tag\", "
 | 
			
		||||
  echo "  \"download_url_linux_amd64\": \"https://github.com/$5/releases/download/$release_tag/linux-amd64.tar.gz\", "
 | 
			
		||||
  echo "  \"download_url_linux_i386\": \"https://github.com/$5/releases/download/$release_tag/linux-i386.tar.gz\", "
 | 
			
		||||
  echo "  \"download_url_linux_arm64\": \"https://github.com/$5/releases/download/$release_tag/linux-arm64.tar.gz\", "
 | 
			
		||||
  echo "  \"download_url_linux_arm\": \"https://github.com/$5/releases/download/$release_tag/linux-arm.tar.gz\", "
 | 
			
		||||
  echo "  \"download_url_windows_amd64\": \"https://github.com/$5/releases/download/$release_tag/windows-amd64.tar.gz\", "
 | 
			
		||||
 
 | 
			
		||||
@@ -59,7 +59,8 @@ chmod +x compile.sh
 | 
			
		||||
if [ ${TARGETARCH} == 'amd64' ] || [ ${TARGETARCH} == 'arm64' ]; then
 | 
			
		||||
    ./compile.sh linux64
 | 
			
		||||
elif [ ${TARGETARCH} == '386' ]; then
 | 
			
		||||
    ./compile.sh linux32
 | 
			
		||||
    echo "386 is no longer supported since chromium 104"
 | 
			
		||||
    exit 1
 | 
			
		||||
else
 | 
			
		||||
    echo "Can not compile java classes under arm/v6 currently. So we copy from prebuild directory."
 | 
			
		||||
    mkdir -p /jcef/out/linux32
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user