Skip to content

Commit

Permalink
Add qt build in workflow. (#10)
Browse files Browse the repository at this point in the history
* Add qt build in workflow.

* Update .github/workflows/build.yml

* Seperate all platform builds.

* Rename jobs to lowercase.

* Use Ubuntu tu build android.

* Build one arch only for iOS and Android.

* Update the artifact names.

* Use Ubuntu tu build QT.
  • Loading branch information
domchen authored Oct 25, 2023
1 parent 63d7232 commit fb74fda
Show file tree
Hide file tree
Showing 8 changed files with 294 additions and 157 deletions.
62 changes: 8 additions & 54 deletions .github/workflows/autotest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [ main ]

jobs:
autotest:
mac:
runs-on: macos-latest
steps:
- name: Check Out Repo
Expand All @@ -30,31 +30,8 @@ jobs:
/usr/local/lib/node_modules/depsync
/usr/local/Cellar/gcovr
/usr/local/bin/gcovr
/usr/local/Cellar/emsdk
/usr/local/Cellar/emsdk/upstream/emscripten
/usr/local/Cellar/emsdk/node/14.18.2_64bit/bin
/usr/local/bin/em++
/usr/local/bin/em-config
/usr/local/bin/emar
/usr/local/bin/embuilder
/usr/local/bin/emcc
/usr/local/bin/emcmake
/usr/local/bin/emconfigure
/usr/local/bin/emdump
/usr/local/bin/emdwp
/usr/local/bin/emmake
/usr/local/bin/emnm
/usr/local/bin/emrun
/usr/local/bin/emprofile
/usr/local/bin/emscons
/usr/local/bin/emsize
/usr/local/bin/emstrip
/usr/local/bin/emsymbolizer
/usr/local/bin/emcc.py
/usr/local/bin/emcmake.py
/usr/local/bin/emar.py
key: tgfx-environment-macos-20231024
restore-keys: tgfx-environment-macos-
key: tgfx-environment-autotest-20231025
restore-keys: tgfx-environment-autotest-

- name: Get Third-Party Cache
id: third-party-cache
Expand All @@ -69,8 +46,8 @@ jobs:

- name: Run depsync
run: |
chmod +x sync_deps.sh
./sync_deps.sh
npm install depsync -g
depsync
shell: bash

- name: Check Code Format
Expand Down Expand Up @@ -109,30 +86,7 @@ jobs:
/usr/local/lib/node_modules/depsync
/usr/local/Cellar/gcovr
/usr/local/bin/gcovr
/usr/local/Cellar/emsdk
/usr/local/Cellar/emsdk/upstream/emscripten
/usr/local/Cellar/emsdk/node/14.18.2_64bit/bin
/usr/local/bin/em++
/usr/local/bin/em-config
/usr/local/bin/emar
/usr/local/bin/embuilder
/usr/local/bin/emcc
/usr/local/bin/emcmake
/usr/local/bin/emconfigure
/usr/local/bin/emdump
/usr/local/bin/emdwp
/usr/local/bin/emmake
/usr/local/bin/emnm
/usr/local/bin/emrun
/usr/local/bin/emprofile
/usr/local/bin/emscons
/usr/local/bin/emsize
/usr/local/bin/emstrip
/usr/local/bin/emsymbolizer
/usr/local/bin/emcc.py
/usr/local/bin/emcmake.py
/usr/local/bin/emar.py
key: tgfx-environment-macos-20231024
key: tgfx-environment-autotest-20231025

- name: Save Third-Party Cache
if: ${{ (github.event_name == 'push') && (steps.third-party-cache.outputs.cache-hit != 'true') }}
Expand All @@ -146,12 +100,12 @@ jobs:

- name: Job Failed
if: ${{ failure() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: result
path: result

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: result
path: result
Loading

0 comments on commit fb74fda

Please sign in to comment.