mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-17 23:00:21 +02:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
edb1950a76 | ||
|
|
b5821e9bbd | ||
|
|
3f44dcf301 |
No files matched your search
@@ -10,8 +10,67 @@ concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
build-all:
|
||||
uses: ./.github/workflows/shared-build.yml
|
||||
with:
|
||||
environment: "testing"
|
||||
environment: 'testing'
|
||||
|
||||
# Initially create a release with 1 job
|
||||
# so multiple files can be uploaded at the same time afterwards
|
||||
create-release:
|
||||
runs-on: ubuntu-24.04
|
||||
environment: 'testing'
|
||||
needs: [build-all]
|
||||
|
||||
steps:
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2.3.2
|
||||
with:
|
||||
prerelease: true
|
||||
name: '${{github.ref_name}}-${{github.sha}}'
|
||||
tag_name: 'dev'
|
||||
|
||||
deploy-release:
|
||||
if: github.event_name != 'pull_request' && github.ref_name == 'main'
|
||||
strategy:
|
||||
matrix:
|
||||
target_os: [
|
||||
'linux-amd64',
|
||||
'linux-i686',
|
||||
'linux-arm64',
|
||||
'linux-armhf',
|
||||
'linux-powerpc',
|
||||
'linux-ppc64',
|
||||
'linux-ppc64el',
|
||||
'windows-x64-pdb',
|
||||
'windows-x86-pdb',
|
||||
'windows-arm64-pdb',
|
||||
'macos-multiarch-arm64-x86_64',
|
||||
]
|
||||
|
||||
runs-on: ubuntu-24.04
|
||||
environment: 'testing'
|
||||
needs: [create-release]
|
||||
|
||||
env:
|
||||
RELEASE_NAME: ${{github.event.repository.name}}-dev-${{matrix.target_os}}
|
||||
|
||||
steps:
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: 'out-${{matrix.target_os}}'
|
||||
path: ${{github.workspace}}/${{matrix.target_os}}
|
||||
|
||||
- name: Zip
|
||||
working-directory: '${{github.workspace}}/${{matrix.target_os}}'
|
||||
run: zip -r "../${{env.RELEASE_NAME}}.zip" ./
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2.3.2
|
||||
with:
|
||||
tag_name: 'dev'
|
||||
files: ${{github.workspace}}/${{env.RELEASE_NAME}}.zip
|
||||
@@ -29,7 +29,7 @@ jobs:
|
||||
#{name: 'x86_64', build_name: 'x86_64'},
|
||||
#{name: 'arm64', build_name: 'arm64'},
|
||||
# Compile into an universal binary
|
||||
{name: 'multiarch(arm64-x86_64)', build_name: 'arm64;x86_64' }
|
||||
{name: 'multiarch-arm64-x86_64', build_name: 'arm64;x86_64' }
|
||||
]
|
||||
|
||||
name: "Building for platform macos-${{matrix.architecture.name}}"
|
||||
|
||||
@@ -18,11 +18,22 @@ jobs:
|
||||
with:
|
||||
environment: "release"
|
||||
|
||||
deploy_all:
|
||||
# Initially create a release with 1 job
|
||||
# so multiple files can be uploaded at the same time afterwards
|
||||
create-release:
|
||||
runs-on: ubuntu-24.04
|
||||
environment: 'release'
|
||||
needs: [build-all]
|
||||
|
||||
steps:
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2.3.2
|
||||
with:
|
||||
name: '${{github.ref_name}}-${{env.RELEASE_STAGE}}'
|
||||
prerelease: ${{env.RELEASE_IS_PRERELEASE}}
|
||||
|
||||
deploy-all:
|
||||
strategy:
|
||||
# Set the maximum number of parallel jobs to 1, to avoid a race-condition
|
||||
# while creating a new release
|
||||
max-parallel: 1
|
||||
matrix:
|
||||
target_os: [
|
||||
'linux-amd64',
|
||||
@@ -40,12 +51,12 @@ jobs:
|
||||
'windows-arm64-pdb',
|
||||
#'macos-x86_64',
|
||||
#'macos-arm64',
|
||||
'macos-multiarch(arm64-x86_64)',
|
||||
'macos-multiarch-arm64-x86_64',
|
||||
]
|
||||
|
||||
runs-on: ubuntu-24.04
|
||||
environment: "release"
|
||||
needs: [build-all]
|
||||
environment: 'release'
|
||||
needs: [create-release]
|
||||
|
||||
env:
|
||||
RELEASE_NAME: ${{ github.event.repository.name }}-${{github.ref_name}}-${{matrix.target_os}}
|
||||
@@ -63,13 +74,10 @@ jobs:
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2.3.2
|
||||
with:
|
||||
name: '${{github.ref_name}}-${{env.RELEASE_STAGE}}'
|
||||
prerelease: ${{env.RELEASE_IS_PRERELEASE}}
|
||||
files: ${{github.workspace}}/${{ env.RELEASE_NAME }}.zip
|
||||
|
||||
deploy_installer_windows:
|
||||
strategy:
|
||||
max-parallel: 1
|
||||
matrix:
|
||||
target_os: [
|
||||
'windows-x64',
|
||||
@@ -79,7 +87,7 @@ jobs:
|
||||
|
||||
runs-on: ubuntu-24.04
|
||||
environment: "release"
|
||||
needs: [deploy_all]
|
||||
needs: [create-release]
|
||||
|
||||
env:
|
||||
RELEASE_NAME: ${{ github.event.repository.name }}-${{github.ref_name}}-${{matrix.target_os}}
|
||||
@@ -98,6 +106,4 @@ jobs:
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2.3.2
|
||||
with:
|
||||
name: '${{github.ref_name}}-${{env.RELEASE_STAGE}}'
|
||||
prerelease: ${{env.RELEASE_IS_PRERELEASE}}
|
||||
files: ${{github.workspace}}/${{ env.RELEASE_NAME }}.msi
|
||||
@@ -32,7 +32,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
// These values are the only one that must be set for the version
|
||||
#define PRODUCT_VERSION_MAJOR 0
|
||||
#define PRODUCT_VERSION_MINOR 82
|
||||
#define PRODUCT_VERSION_PATCH 0
|
||||
#define PRODUCT_VERSION_PATCH 1
|
||||
#define PRODUCT_VERSION_SUFFIX PRODUCT_VERSION_STAGE
|
||||
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user