Skip to content

Commit

Permalink
Merge pull request #426 from amnezia-vpn/ios-build
Browse files Browse the repository at this point in the history
Change Qt mirror for builds
  • Loading branch information
pokamest committed Nov 14, 2023
2 parents b0004fd + abb2cae commit b469431
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
name: 'Deploy workflow'

on:
push:
branches:
- '**'

on: [push]
env:
QT_MIRROR: https://mirrors.ocf.berkeley.edu/qt/ # https://download.qt.io/static/mirrorlist/

jobs:
Build-Linux-Ubuntu:
Expand All @@ -25,7 +30,7 @@ jobs:
setup-python: 'true'
tools: 'tools_ifw'
set-env: 'true'
extra: '--external 7z'
extra: '--external 7z --base ${{ env.QT_MIRROR }}'

- name: 'Get sources'
uses: actions/checkout@v3
Expand Down Expand Up @@ -89,7 +94,7 @@ jobs:
setup-python: 'true'
tools: 'tools_ifw'
set-env: 'true'
extra: '--external 7z'
extra: '--external 7z --base ${{ env.QT_MIRROR }}'

- name: 'Setup mvsc'
uses: ilammy/msvc-dev-cmd@v1
Expand Down Expand Up @@ -119,15 +124,14 @@ jobs:

# ------------------------------------------------------

Build-IOS:
name: 'Build-IOS'
Build-iOS:
name: 'Build-iOS'
runs-on: macos-12

env:
QT_VERSION: 6.5.2

steps:
# Just select XCode
- name: 'Setup xcode'
uses: maxim-lobanov/setup-xcode@v1
with:
Expand All @@ -143,6 +147,7 @@ jobs:
arch: 'clang_64'
dir: ${{ runner.temp }}
set-env: 'true'
extra: '--base ${{ env.QT_MIRROR }}'

- name: 'Install iOS Qt'
uses: jurplel/install-qt-action@v3
Expand All @@ -154,7 +159,7 @@ jobs:
dir: ${{ runner.temp }}
setup-python: 'true'
set-env: 'true'
extra: '--external 7z'
extra: '--external 7z --base ${{ env.QT_MIRROR }}'

- name: 'Install go'
uses: actions/setup-go@v3
Expand All @@ -174,7 +179,7 @@ jobs:
- name: 'Setup ccache'
uses: hendrikmuhs/ccache-action@v1.2

- name: Install dependencies
- name: 'Install dependencies'
run: pip install jsonschema jinja2

- name: 'Build project'
Expand Down Expand Up @@ -232,7 +237,7 @@ jobs:
setup-python: 'true'
tools: 'tools_ifw'
set-env: 'true'
extra: '--external 7z'
extra: '--external 7z --base ${{ env.QT_MIRROR }}'

- name: 'Get sources'
uses: actions/checkout@v3
Expand Down Expand Up @@ -296,7 +301,7 @@ jobs:
dir: ${{ runner.temp }}
setup-python: 'true'
set-env: 'true'
extra: '--external 7z'
extra: '--external 7z --base ${{ env.QT_MIRROR }}'

- name: 'Install android Qt'
uses: jurplel/install-qt-action@v3
Expand All @@ -309,7 +314,7 @@ jobs:
dir: ${{ runner.temp }}
setup-python: 'true'
set-env: 'true'
extra: '--external 7z'
extra: '--external 7z --base ${{ env.QT_MIRROR }}'

- name: 'Grant execute permission for qt-cmake'
shell: bash
Expand Down

0 comments on commit b469431

Please sign in to comment.