EddyTheCo pull_request to develop #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: push-build-release | |
run-name: ${{ github.actor }} ${{ github.event_name }} to ${{ github.base_ref }} | |
on: | |
push: | |
tags: | |
- 'v*' | |
pull_request: | |
branches: [develop] | |
jobs: | |
build_test_package: | |
strategy: | |
matrix: | |
os: [ubuntu-latest,macos-latest,windows-latest] | |
uses: EddyTheCo/Common/.github/workflows/[email protected] | |
permissions: | |
contents: write | |
with: | |
os: ${{ matrix.os }} | |
cmakeArgs: ' -DUSE_THREADS=ON -DQTDEPLOY=ON' | |
qtModules: 'qtwebsockets qtshadertools qtmultimedia qtlocation qtpositioning' | |
qtVersion: '6.6.0' | |
test: false | |
build-android: | |
strategy: | |
matrix: | |
qtArch: ['android_arm64_v8a','android_armv7'] | |
uses: EddyTheCo/Common/.github/workflows/[email protected] | |
with: | |
qtModules: 'qtwebsockets qtshadertools qtmultimedia qtlocation qtpositioning' | |
qtTarget: 'lockersClient' | |
qtVersion: '6.6.0' | |
cmakeArgs: '-DUSE_THREADS=ON -DBUILD_SERVER=OFF' | |
qtArch: ${{ matrix.qtArch }} | |
subdir: 'Client' | |
secrets: | |
QT_ANDROID_KEYSTORE_STORE_PASS: ${{ secrets.QT_ANDROID_KEYSTORE_STORE_PASS }} | |
release: | |
if: startsWith(github.ref, 'refs/tags/v') | |
needs: [build_test_package,build-android] | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/download-artifact@v4 | |
with: | |
path: artifacts | |
- name: Display structure of downloaded files | |
run: ls -R | |
- name: Releases | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: ./artifacts/*/* |