Browse Source

Sync release CI from hotfix branch

Signed-off-by: falkTX <falktx@falktx.com>
fix-audiofile-buffering
falkTX 1 year ago
parent
commit
a77efb2c95
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 36 additions and 13 deletions
  1. +36
    -13
      .github/workflows/release.yml

+ 36
- 13
.github/workflows/release.yml View File

@@ -9,7 +9,8 @@ on:
- '*' - '*'


env: env:
CACHE_VERSION: 11
CACHE_VERSION: 1
PAWPAW_SKIP_LTO: 1
PAWPAW_VERSION: cd7b760d6a32ecad263b112c12be8a306ed1e89c PAWPAW_VERSION: cd7b760d6a32ecad263b112c12be8a306ed1e89c


jobs: jobs:
@@ -38,11 +39,18 @@ jobs:
- name: Build macOS universal - name: Build macOS universal
shell: bash shell: bash
run: | run: |
./build.sh macos-universal
source PawPaw/local.env macos-universal
make features
make EXTERNAL_PLUGINS=false NOOPT=true ${MAKE_ARGS}
make dist ${MAKE_ARGS} TESTING=true -j 1
make dist ${MAKE_ARGS} TESTING=true -j 1
make dist ${MAKE_ARGS} TESTING=true -j 1
make dist ${MAKE_ARGS} TESTING=true -j 1
make dist ${MAKE_ARGS} -j 1
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: macOS universal package
path: Carla/*.dmg
name: macOS dmg
path: ./*.dmg
- uses: softprops/action-gh-release@v1 - uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
with: with:
@@ -51,7 +59,7 @@ jobs:
draft: false draft: false
prerelease: false prerelease: false
files: | files: |
path: Carla/*.dmg
path: ./*.dmg


# linux with win32 cross-compilation # linux with win32 cross-compilation
win32: win32:
@@ -94,11 +102,18 @@ jobs:
- name: Build win32 cross-compiled - name: Build win32 cross-compiled
shell: bash shell: bash
run: | run: |
./build.sh win32
source PawPaw/local.env win32
make features
make EXTERNAL_PLUGINS=false NOOPT=true ${MAKE_ARGS}
make dist ${MAKE_ARGS} TESTING=true -j 1
make dist ${MAKE_ARGS} TESTING=true -j 1
make dist ${MAKE_ARGS} TESTING=true -j 1
make dist ${MAKE_ARGS} TESTING=true -j 1
make dist ${MAKE_ARGS} -j 1
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: win32 installer
path: Carla/*.zip
name: win32 zip
path: ./*.zip
- uses: softprops/action-gh-release@v1 - uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
with: with:
@@ -107,7 +122,7 @@ jobs:
draft: false draft: false
prerelease: false prerelease: false
files: | files: |
path: Carla/*.zip
path: ./*.zip


# linux with win64 cross-compilation # linux with win64 cross-compilation
win64: win64:
@@ -150,11 +165,19 @@ jobs:
- name: Build win64 cross-compiled - name: Build win64 cross-compiled
shell: bash shell: bash
run: | run: |
./build.sh win64
source PawPaw/local.env win64
make features
make EXTERNAL_PLUGINS=false NOOPT=true ${MAKE_ARGS}
make EXTERNAL_PLUGINS=false NOOPT=true ${MAKE_ARGS} win32r
make dist ${MAKE_ARGS} TESTING=true -j 1
make dist ${MAKE_ARGS} TESTING=true -j 1
make dist ${MAKE_ARGS} TESTING=true -j 1
make dist ${MAKE_ARGS} TESTING=true -j 1
make dist ${MAKE_ARGS} -j 1
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: win64 installer
path: Carla/*.zip
name: win64 zip
path: ./*.zip
- uses: softprops/action-gh-release@v1 - uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
with: with:
@@ -163,4 +186,4 @@ jobs:
draft: false draft: false
prerelease: false prerelease: false
files: | files: |
path: Carla/*.zip
path: ./*.zip

Loading…
Cancel
Save