mirror of
				https://github.com/jcefmaven/jcefbuild.git
				synced 2025-11-04 16:33:40 +08:00 
			
		
		
		
	Finalize actions layout
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
name: build
 | 
			
		||||
name: build-all
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  workflow_dispatch:
 | 
			
		||||
@@ -113,6 +113,62 @@ jobs:
 | 
			
		||||
          asset_content_type: application/octet-stream
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  build-linux-arm64:
 | 
			
		||||
    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 arm64 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-arm64.tar.gz
 | 
			
		||||
          asset_content_type: application/octet-stream
 | 
			
		||||
          
 | 
			
		||||
          
 | 
			
		||||
  build-linux-arm:
 | 
			
		||||
    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 arm/v6 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-arm.tar.gz
 | 
			
		||||
          asset_content_type: application/octet-stream
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  build-windows-amd64:
 | 
			
		||||
    runs-on: windows-2019
 | 
			
		||||
    needs: create-release
 | 
			
		||||
@@ -153,6 +209,27 @@ jobs:
 | 
			
		||||
          asset_path: out/binary_distrib.tar.gz
 | 
			
		||||
          asset_name: windows-i386.tar.gz
 | 
			
		||||
          asset_content_type: application/octet-stream
 | 
			
		||||
          
 | 
			
		||||
  
 | 
			
		||||
  build-windows-arm64:
 | 
			
		||||
    runs-on: windows-2019
 | 
			
		||||
    needs: create-release
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v1
 | 
			
		||||
      -
 | 
			
		||||
        name: Build
 | 
			
		||||
        shell: cmd
 | 
			
		||||
        run: |
 | 
			
		||||
          compile_windows.bat arm64 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: windows-arm64.tar.gz
 | 
			
		||||
          asset_content_type: application/octet-stream
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  build-macosx-amd64:
 | 
			
		||||
							
								
								
									
										37
									
								
								.github/workflows/build-linux-amd64.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								.github/workflows/build-linux-amd64.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,37 @@
 | 
			
		||||
name: build-linux-amd64
 | 
			
		||||
 | 
			
		||||
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-amd64:
 | 
			
		||||
    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 amd64 Release ${{ github.event.inputs.repo }} ${{ github.event.inputs.ref }}
 | 
			
		||||
      -
 | 
			
		||||
        name: Export artifacts
 | 
			
		||||
        uses: actions/upload-artifact@v2
 | 
			
		||||
        with:
 | 
			
		||||
          name: linux-amd64.tar.gz
 | 
			
		||||
          path: out/binary_distrib.tar.gz
 | 
			
		||||
							
								
								
									
										7
									
								
								.github/workflows/build-linux-arm.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/build-linux-arm.yml
									
									
									
									
										vendored
									
									
								
							@@ -29,4 +29,9 @@ jobs:
 | 
			
		||||
        run: |
 | 
			
		||||
          chmod +x compile_linux.sh
 | 
			
		||||
          ./compile_linux.sh arm/v6 Release ${{ github.event.inputs.repo }} ${{ github.event.inputs.ref }}
 | 
			
		||||
 | 
			
		||||
      -
 | 
			
		||||
        name: Export artifacts
 | 
			
		||||
        uses: actions/upload-artifact@v2
 | 
			
		||||
        with:
 | 
			
		||||
          name: linux-arm.tar.gz
 | 
			
		||||
          path: out/binary_distrib.tar.gz
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										6
									
								
								.github/workflows/build-linux-arm64.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/build-linux-arm64.yml
									
									
									
									
										vendored
									
									
								
							@@ -29,4 +29,10 @@ jobs:
 | 
			
		||||
        run: |
 | 
			
		||||
          chmod +x compile_linux.sh
 | 
			
		||||
          ./compile_linux.sh arm64 Release ${{ github.event.inputs.repo }} ${{ github.event.inputs.ref }}
 | 
			
		||||
      -
 | 
			
		||||
        name: Export artifacts
 | 
			
		||||
        uses: actions/upload-artifact@v2
 | 
			
		||||
        with:
 | 
			
		||||
          name: linux-arm64.tar.gz
 | 
			
		||||
          path: out/binary_distrib.tar.gz
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										37
									
								
								.github/workflows/build-linux-i386.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								.github/workflows/build-linux-i386.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,37 @@
 | 
			
		||||
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
 | 
			
		||||
							
								
								
									
										36
									
								
								.github/workflows/build-macosx-amd64.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								.github/workflows/build-macosx-amd64.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,36 @@
 | 
			
		||||
name: build-macosx-amd64
 | 
			
		||||
 | 
			
		||||
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-macosx-amd64:
 | 
			
		||||
    runs-on: macos-10.15
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v1
 | 
			
		||||
      -
 | 
			
		||||
        name: Setup environment
 | 
			
		||||
        run: |
 | 
			
		||||
          chmod +x scripts/install_macos_dependencies.sh
 | 
			
		||||
          ./scripts/install_macos_dependencies.sh
 | 
			
		||||
      -
 | 
			
		||||
        name: Build
 | 
			
		||||
        run: |
 | 
			
		||||
          chmod +x compile_macosx.sh
 | 
			
		||||
          ./compile_macosx.sh amd64 Release ${{ github.event.inputs.repo }} ${{ github.event.inputs.ref }}
 | 
			
		||||
      -
 | 
			
		||||
        name: Export artifacts
 | 
			
		||||
        uses: actions/upload-artifact@v2
 | 
			
		||||
        with:
 | 
			
		||||
          name: macosx-amd64.tar.gz
 | 
			
		||||
          path: out/binary_distrib.tar.gz
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										36
									
								
								.github/workflows/build-macosx-arm64.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								.github/workflows/build-macosx-arm64.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,36 @@
 | 
			
		||||
name: build-macosx-arm64
 | 
			
		||||
 | 
			
		||||
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-macosx-arm64:
 | 
			
		||||
    runs-on: macos-10.15
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v1
 | 
			
		||||
      -
 | 
			
		||||
        name: Setup environment
 | 
			
		||||
        run: |
 | 
			
		||||
          chmod +x scripts/install_macos_dependencies.sh
 | 
			
		||||
          ./scripts/install_macos_dependencies.sh
 | 
			
		||||
      -
 | 
			
		||||
        name: Build
 | 
			
		||||
        run: |
 | 
			
		||||
          chmod +x compile_macosx.sh
 | 
			
		||||
          ./compile_macosx.sh arm64 Release ${{ github.event.inputs.repo }} ${{ github.event.inputs.ref }}
 | 
			
		||||
      -
 | 
			
		||||
        name: Export artifacts
 | 
			
		||||
        uses: actions/upload-artifact@v2
 | 
			
		||||
        with:
 | 
			
		||||
          name: macosx-arm64.tar.gz
 | 
			
		||||
          path: out/binary_distrib.tar.gz
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										31
									
								
								.github/workflows/build-windows-amd64.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								.github/workflows/build-windows-amd64.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,31 @@
 | 
			
		||||
name: build-windows-amd64
 | 
			
		||||
 | 
			
		||||
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-windows-amd64:
 | 
			
		||||
    runs-on: windows-2019
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v1
 | 
			
		||||
      -
 | 
			
		||||
        name: Build
 | 
			
		||||
        shell: cmd
 | 
			
		||||
        run: |
 | 
			
		||||
          compile_windows.bat amd64 Release ${{ github.event.inputs.repo }} ${{ github.event.inputs.ref }}
 | 
			
		||||
      -
 | 
			
		||||
        name: Export artifacts
 | 
			
		||||
        uses: actions/upload-artifact@v2
 | 
			
		||||
        with:
 | 
			
		||||
          name: windows-amd64.tar.gz
 | 
			
		||||
          path: out/binary_distrib.tar.gz
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										8
									
								
								.github/workflows/build-windows-arm64.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/build-windows-arm64.yml
									
									
									
									
										vendored
									
									
								
							@@ -1,4 +1,4 @@
 | 
			
		||||
name: build-windows-arm
 | 
			
		||||
name: build-windows-arm64
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  workflow_dispatch:
 | 
			
		||||
@@ -22,4 +22,10 @@ jobs:
 | 
			
		||||
        shell: cmd
 | 
			
		||||
        run: |
 | 
			
		||||
          compile_windows.bat arm64 Release ${{ github.event.inputs.repo }} ${{ github.event.inputs.ref }}
 | 
			
		||||
      -
 | 
			
		||||
        name: Export artifacts
 | 
			
		||||
        uses: actions/upload-artifact@v2
 | 
			
		||||
        with:
 | 
			
		||||
          name: windows-arm64.tar.gz
 | 
			
		||||
          path: out/binary_distrib.tar.gz
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										31
									
								
								.github/workflows/build-windows-i386.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								.github/workflows/build-windows-i386.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,31 @@
 | 
			
		||||
name: build-windows-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-windows-i386:
 | 
			
		||||
    runs-on: windows-2019
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v1
 | 
			
		||||
      -
 | 
			
		||||
        name: Build
 | 
			
		||||
        shell: cmd
 | 
			
		||||
        run: |
 | 
			
		||||
          compile_windows.bat 386 Release ${{ github.event.inputs.repo }} ${{ github.event.inputs.ref }}
 | 
			
		||||
      -
 | 
			
		||||
        name: Export artifacts
 | 
			
		||||
        uses: actions/upload-artifact@v2
 | 
			
		||||
        with:
 | 
			
		||||
          name: windows-i386.tar.gz
 | 
			
		||||
          path: out/binary_distrib.tar.gz
 | 
			
		||||
 | 
			
		||||
@@ -76,8 +76,11 @@ mv LICENSE.txt ../LICENSE
 | 
			
		||||
  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\", "
 | 
			
		||||
  echo "  \"filename_windows_i386\": \"windows-i386.tar.gz\", "
 | 
			
		||||
  echo "  \"filename_windows_arm64\": \"windows-arm64.tar.gz\", "
 | 
			
		||||
  echo "  \"filename_macosx_amd64\": \"macosx-amd64.tar.gz\", "
 | 
			
		||||
  echo "  \"filename_macosx_arm64\": \"macosx-arm64.tar.gz\", "
 | 
			
		||||
  echo "  \"filename_javadoc\": \"javadoc.tar.gz\", "
 | 
			
		||||
@@ -85,8 +88,11 @@ mv LICENSE.txt ../LICENSE
 | 
			
		||||
  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\", "
 | 
			
		||||
  echo "  \"download_url_windows_i386\": \"https://github.com/$5/releases/download/$release_tag/windows-i386.tar.gz\", "
 | 
			
		||||
  echo "  \"download_url_windows_arm64\": \"https://github.com/$5/releases/download/$release_tag/windows-arm64.tar.gz\", "
 | 
			
		||||
  echo "  \"download_url_macosx_amd64\": \"https://github.com/$5/releases/download/$release_tag/macosx-amd64.tar.gz\", "
 | 
			
		||||
  echo "  \"download_url_macosx_ard64\": \"https://github.com/$5/releases/download/$release_tag/macosx-arm64.tar.gz\", "
 | 
			
		||||
  echo "  \"download_url_javadoc\": \"https://github.com/$5/releases/download/$release_tag/javadoc.tar.gz\""
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user