Skip to content

Commit

Permalink
Add Github iOS workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Bionus committed Oct 19, 2020
1 parent bb62426 commit 3458463
Show file tree
Hide file tree
Showing 12 changed files with 96 additions and 458 deletions.
95 changes: 0 additions & 95 deletions .github/workflows/android.yml

This file was deleted.

54 changes: 54 additions & 0 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: iOS
on: push

jobs:
iOS:
runs-on: macos-latest

steps:
- name: Checkout
uses: actions/checkout@v1
with:
submodules: recursive

- name: Set environment
run: |
echo ::set-env name=GRABBER_VERSION::nightly
echo ::set-env name=GRABBER_IS_NIGHTLY::1
echo ::set-env name=PLATFORM_NAME::x64
- name: Cache Qt
id: cache-qt
uses: actions/cache@v1
with:
path: ../Qt
key: ${{ runner.os }}-QtCache-${{ hashFiles('.github/workflows/ios.yml') }}

- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
cached: ${{ steps.cache-qt.outputs.cache-hit }}
version: 5.12.6
target: ios

- name: Create build dir
run: mkdir build

- name: Configure
working-directory: build
run: |
cmake ../src -DCMAKE_BUILD_TYPE=Release -DNIGHTLY=%GRABBER_IS_NIGHTLY% -DCOMMIT="%GITHUB_SHA%" -DVERSION="%GRABBER_VERSION%" \
-DUSE_SSL=0 -DCONFIG+=iphoneos -DCMAKE_SYSTEM_NAME=iOS
- name: Compile
working-directory: build
run: |
cmake --build . --config Release --target sites
cmake --build . --config Release --target gui-qml
# cmake --build . --config Release --target gui

- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: IOS
path: bin
75 changes: 0 additions & 75 deletions .github/workflows/linux.yml

This file was deleted.

71 changes: 0 additions & 71 deletions .github/workflows/macos.yml

This file was deleted.

44 changes: 0 additions & 44 deletions .github/workflows/uncrustify.yml

This file was deleted.

0 comments on commit 3458463

Please sign in to comment.