diff options
| author | Dan Engelbrecht <[email protected]> | 2023-08-22 14:16:42 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-08-22 14:16:42 +0200 |
| commit | 013e0360db889f33def16c0cdbff370267819155 (patch) | |
| tree | 0de8e7f47aacba05d16f282ef1f6aba736cb5337 /.github/workflows | |
| parent | Fix construction order in OpenProcessCache (#374) (diff) | |
| download | zen-013e0360db889f33def16c0cdbff370267819155.tar.xz zen-013e0360db889f33def16c0cdbff370267819155.zip | |
revive UE toolchain build (#343)
* add comment about 7z usage in xmake bundle
* add ue-libcxx lib/headers and licence + tps
* update get_ue_toolchain.sh to use embedded libc++ and decouple from p4
* clearer output when falling back to zip from 7z
* update ci scripts to use ue toolchain on linux
* updated linux build README.md
* changelog
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/create_release.yml | 25 | ||||
| -rw-r--r-- | .github/workflows/validate.yml | 21 |
2 files changed, 19 insertions, 27 deletions
diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 6f29e3382..1d87a7153 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -18,7 +18,7 @@ jobs: - name: Setup xmake uses: xmake-io/github-action-setup-xmake@v1 with: - xmake-version: branch@dev + xmake-version: 2.8.1 - name: Installing vcpkg run: | @@ -66,16 +66,15 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up GCC 11 - uses: egor-tensin/setup-gcc@v1 - with: - version: 11 - platform: x64 + - name: Install UE Toolchain + run: | + rm -rf ./.tmp-ue-toolchain + ./scripts/ue_build_linux/get_ue_toolchain.sh ./.tmp-ue-toolchain - name: Setup xmake uses: xmake-io/github-action-setup-xmake@v1 with: - xmake-version: branch@dev + xmake-version: branch@dev # We need a fix for versioning sentry-native which is not available as of 2.8.1 - name: Installing vcpkg run: | @@ -93,13 +92,13 @@ jobs: - name: Config run: | - xmake config -v -y -m release + ./scripts/ue_build_linux/ue_build.sh ./.tmp-ue-toolchain xmake config -v -y -m release env: VCPKG_ROOT: ${{ github.workspace }}/.vcpkg - name: Bundle run: | - xmake bundle -v -y + ./scripts/ue_build_linux/ue_build.sh ./.tmp-ue-toolchain xmake bundle -v -y env: VCPKG_ROOT: ${{ github.workspace }}/.vcpkg @@ -129,16 +128,10 @@ jobs: steps: - uses: actions/checkout@v3 -# - name: Set up GCC 11 -# uses: egor-tensin/setup-gcc@v1 -# with: -# version: 11 -# platform: x64 - - name: Setup xmake uses: xmake-io/github-action-setup-xmake@v1 with: - xmake-version: branch@dev + xmake-version: 2.8.1 - name: Installing vcpkg run: | diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 435467822..9b455c335 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -62,7 +62,7 @@ jobs: - name: Setup xmake uses: xmake-io/github-action-setup-xmake@v1 with: - xmake-version: branch@dev + xmake-version: 2.8.1 - name: Installing vcpkg run: | # Remove-Item -Recurse .vcpkg @@ -125,16 +125,15 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Set up GCC 11 - uses: egor-tensin/setup-gcc@v1 - with: - version: 11 - platform: x64 + - name: Install UE Toolchain + run: | + rm -rf ./.tmp-ue-toolchain + ./scripts/ue_build_linux/get_ue_toolchain.sh ./.tmp-ue-toolchain - name: Setup xmake uses: xmake-io/github-action-setup-xmake@v1 with: - xmake-version: branch@dev + xmake-version: branch@dev # We need a fix for versioning sentry-native which is not available as of 2.8.1 - name: Installing vcpkg run: | # rm -rf .vcpkg @@ -145,14 +144,14 @@ jobs: - name: Config run: | - xmake config -v -y -m ${{ matrix.config }} --arch=${{ matrix.arch }} + ./scripts/ue_build_linux/ue_build.sh ./.tmp-ue-toolchain xmake config -v -y -m ${{ matrix.config }} --arch=${{ matrix.arch }} env: VCPKG_ROOT: ${{ github.workspace }}/.vcpkg - name: Build & Test if: ${{ matrix.config == 'debug' }} run: | - xmake test -v -y --junit + ./scripts/ue_build_linux/ue_build.sh ./.tmp-ue-toolchain xmake test -v -y --junit env: VCPKG_ROOT: ${{ github.workspace }}/.vcpkg @@ -166,7 +165,7 @@ jobs: - name: Bundle if: ${{ matrix.config == 'release' }} run: | - xmake bundle -v -y + ./scripts/ue_build_linux/ue_build.sh ./.tmp-ue-toolchain xmake bundle -v -y env: VCPKG_ROOT: ${{ github.workspace }}/.vcpkg @@ -199,7 +198,7 @@ jobs: - name: Setup xmake uses: xmake-io/github-action-setup-xmake@v1 with: - xmake-version: branch@dev + xmake-version: 2.8.1 - name: Installing vcpkg run: | # rm -rf .vcpkg |