Add 386 arch

This commit is contained in:
FriwiDev 2021-10-25 12:14:36 +02:00
parent 7686f2954b
commit d3e29c7886
2 changed files with 28 additions and 22 deletions

View File

@ -17,12 +17,6 @@ jobs:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build
run: |
@ -32,6 +26,30 @@ jobs:
name: Export artifacts
uses: actions/upload-artifact@v2
with:
name: linux-amd64.zip
path: |
out/binary_distrib.tar.gz
name: linux-amd64.tar.gz
path: out/binary_distrib.tar.gz
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
-
name: Export artifacts
uses: actions/upload-artifact@v2
with:
name: linux-i386.tar.gz
path: out/binary_distrib.tar.gz

View File

@ -1,18 +1,6 @@
FROM friwidev/jcefdocker:linux-latest AS stage
#Do you want to manually build cef to customize the build?
#0: Use CEF from prebuilt Spotify repository (supported by CEF-Downloader only for 386 and amd64)
#1: Compile CEF from source
#This value will be ignored when no download is available on this architecture!
ENV BUILD_CEF 0
#If you want to build with proprietary codecs, add the following to this variable:
# proprietary_codecs=1 ffmpeg_branding=Chrome
#Warning: Be aware of the legal implications by using proprietary codecs!
#(Not required for mp3/mp4 anymore!)
ENV GYP_DEFINES ""
#Type to build: Debug or Release
#Specify a type to build: Debug or Release
ENV BUILD_TYPE Release
WORKDIR /builder