Skip to content

remove linux-arm64-v8a #28

remove linux-arm64-v8a

remove linux-arm64-v8a #28

Workflow file for this run

name: Build Binary
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-mingw:
strategy:
matrix:
arch: [x86_64]
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: msys2/setup-msys2@v2
with:
msystem: mingw64
update: true
install: >-
mingw-w64-x86_64-toolchain
mingw-w64-x86_64-gcc
mingw-w64-x86_64-xmake
mingw-w64-x86_64-7zip
unzip
git
- name: Build
shell: msys2 {0}
run: |
cd source
xmake f -p mingw -a ${{ matrix.arch }} -m release -P . -y -vD
xmake build -P . -y -vD webview
xmake build -P . -y -vD webview_static
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: webview-mingw-${{ matrix.arch }}
path: ./source/build/mingw/${{ matrix.arch }}/release
build-windows:
strategy:
matrix:
arch: [x64, x86, arm64]
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: '>=2.7.5 <3.0.0'
- name: Build
run: |
cd source
xmake f -p windows -a ${{ matrix.arch }} -m release -P . -y -vD
xmake build -P . -y -vD webview
xmake build -P . -y -vD webview_static
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: webview-windows-${{ matrix.arch }}
path: ./source/build/windows/${{ matrix.arch }}/release
build-macos:
strategy:
matrix:
arch: [x86_64, arm64]
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: '>=2.7.5 <3.0.0'
- name: Build
run: |
cd source
xmake f -p macosx -a ${{ matrix.arch }} -m release -P . -y -vD
xmake build -P . -y -vD webview
xmake build -P . -y -vD webview_static
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: webview-macosx-${{ matrix.arch }}
path: ./source/build/macosx/${{ matrix.arch }}/release
build-linux:
strategy:
matrix:
arch: [x86_64] # arm64-v8a
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install libwebkit2gtk-4.0-dev xvfb -y
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: '>=2.7.5 <3.0.0'
- name: Build
run: |
cd source
xmake f -p linux -a ${{ matrix.arch }} -m release -P . -y -vD
xmake build -P . -y -vD webview
xmake build -P . -y -vD webview_static
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: webview-linux-${{ matrix.arch }}
path: ./source/build/linux/${{ matrix.arch }}/release