Skip to content

[73_37] Retry 5 times to create the dmg #2073

[73_37] Retry 5 times to create the dmg

[73_37] Retry 5 times to create the dmg #2073

Workflow file for this run

name: Build and Test by WASM
on:
push:
branches: [ branch-1.2 ]
paths:
- 'src/**'
- '!src/Plugins/Macos/**'
- '!src/Plugins/Windows/**'
- '!src/Plugins/Unix/**'
- 'tests/**'
- '**.lua'
- '.github/workflows/ci-xmake-wasm.yml'
- bin/config_wasm
pull_request:
branches: [ branch-1.2 ]
paths:
- 'src/**'
- '!src/Plugins/Macos/**'
- '!src/Plugins/Windows/**'
- '!src/Plugins/Unix/**'
- 'tests/**'
- '**.lua'
- '.github/workflows/ci-xmake-wasm.yml'
- bin/config_wasm
jobs:
wasmbuild:
runs-on: ubuntu-22.04
timeout-minutes: 45
if: always()
steps:
- uses: elves/setup-elvish@v1
with:
elvish-version: 0.19.2
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: v2.8.7
- name: update repo
run: |
xrepo update-repo
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: set XMAKE_GLOBALDIR
run: echo "XMAKE_GLOBALDIR=${{ runner.workspace }}/xmake-global" >> $GITHUB_ENV
- name: cache packages from xrepo
uses: actions/cache@v2
with:
path: |
${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
key: ${{ runner.os }}-xrepo-wasm-${{ hashFiles('**/packages.lua') }}
- name: cache xmake
uses: actions/cache@v2
with:
path: |
${{ github.workspace }}/build/.build_cache
key: ${{ runner.os }}-xmake-build-${{ hashFiles('**/xmake.lua') }}
- name: Install Qt wasm
uses: jurplel/install-qt-action@v3
with:
version: 6.5.3
arch: wasm_singlethread
host: 'linux'
target: 'desktop'
cache: 'true'
# workarounds in https://github.com/jurplel/install-qt-action/issues/181
setup-python: 'false'
aqtversion: '==3.1.*'
py7zrversion: '==0.20.*'
extra: '--autodesktop'
- name: config
run: elvish bin/config_wasm
- name: build
run: xmake build research