From a77efb2c95446f2367d9df82195cd05775486ac3 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 4 Jun 2023 11:06:10 +0200 Subject: [PATCH] Sync release CI from hotfix branch Signed-off-by: falkTX --- .github/workflows/release.yml | 49 +++++++++++++++++++++++++---------- 1 file changed, 36 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 104853bda..919ff3b00 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,8 @@ on: - '*' env: - CACHE_VERSION: 11 + CACHE_VERSION: 1 + PAWPAW_SKIP_LTO: 1 PAWPAW_VERSION: cd7b760d6a32ecad263b112c12be8a306ed1e89c jobs: @@ -38,11 +39,18 @@ jobs: - name: Build macOS universal shell: bash 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 with: - name: macOS universal package - path: Carla/*.dmg + name: macOS dmg + path: ./*.dmg - uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: @@ -51,7 +59,7 @@ jobs: draft: false prerelease: false files: | - path: Carla/*.dmg + path: ./*.dmg # linux with win32 cross-compilation win32: @@ -94,11 +102,18 @@ jobs: - name: Build win32 cross-compiled shell: bash 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 with: - name: win32 installer - path: Carla/*.zip + name: win32 zip + path: ./*.zip - uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: @@ -107,7 +122,7 @@ jobs: draft: false prerelease: false files: | - path: Carla/*.zip + path: ./*.zip # linux with win64 cross-compilation win64: @@ -150,11 +165,19 @@ jobs: - name: Build win64 cross-compiled shell: bash 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 with: - name: win64 installer - path: Carla/*.zip + name: win64 zip + path: ./*.zip - uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: @@ -163,4 +186,4 @@ jobs: draft: false prerelease: false files: | - path: Carla/*.zip + path: ./*.zip