aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/validate.yml
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2024-03-12 17:25:20 +0000
committerGitHub Enterprise <[email protected]>2024-03-12 18:25:20 +0100
commiteea170ac33e81e1dba885526905e3709fbf2118e (patch)
tree8283a5b3ff934f60fffa0e0ef7b4e6f3ede309a5 /.github/workflows/validate.yml
parenthttp request parser safety (#664) (diff)
downloadzen-eea170ac33e81e1dba885526905e3709fbf2118e.tar.xz
zen-eea170ac33e81e1dba885526905e3709fbf2118e.zip
workflow fixes (#1)
* update validate action for enterprise github * updated runner setup options * updated release workflow for enterprise github
Diffstat (limited to '.github/workflows/validate.yml')
-rw-r--r--.github/workflows/validate.yml30
1 files changed, 14 insertions, 16 deletions
diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml
index 0bec014c4..21f254dd4 100644
--- a/.github/workflows/validate.yml
+++ b/.github/workflows/validate.yml
@@ -21,25 +21,25 @@ on:
jobs:
cancel-old-build:
name: Cancel previous builds
- runs-on: [self-hosted, linux, x64]
+ runs-on: [HV, linux, x64]
steps:
- name: Cancel Previous Runs
if: ${{ github.ref_name != 'main'}}
- uses: styfle/[email protected]
+ uses: ue-foundation/[email protected]
with:
access_token: ${{ github.token }}
clang-format:
needs: cancel-old-build
name: Check clang-format
- runs-on: [self-hosted, linux, x64]
+ runs-on: [HV, linux, x64]
steps:
- uses: actions/checkout@v3
- name: clang-format
- uses: jidicula/[email protected]
+ uses: ue-foundation/[email protected]
with:
clang-format-version: '13'
check-path: 'src'
@@ -47,7 +47,7 @@ jobs:
windows-build:
needs: cancel-old-build
name: Build & Test Windows
- runs-on: [self-hosted, windows, x64]
+ runs-on: [HV, windows, x64]
timeout-minutes: 25
strategy:
matrix:
@@ -62,7 +62,7 @@ jobs:
uses: actions/checkout@v3
- name: Setup xmake
- uses: xmake-io/github-action-setup-xmake@v1
+ uses: ue-foundation/[email protected]
with:
xmake-version: ${{env.XMAKE_VERSION}}
@@ -71,7 +71,6 @@ jobs:
git clone -b ${{env.VCPKG_VERSION}} --single-branch https://github.com/Microsoft/vcpkg.git .vcpkg
cd .vcpkg
.\bootstrap-vcpkg.bat
- .\vcpkg.exe integrate install
cd ..
- name: Config
@@ -96,9 +95,8 @@ jobs:
- name: Bundle
if: ${{ matrix.config == 'release' }}
- run: |
+ run: | # xmake bundle -v -y --codesignidentity="Epic Games"
xmake bundle -v -y
-# xmake bundle -v -y --codesignidentity="Epic Games"
env:
VCPKG_ROOT: ${{ github.workspace }}/.vcpkg
@@ -112,7 +110,7 @@ jobs:
linux-build:
needs: cancel-old-build
name: Build & Test Linux
- runs-on: [self-hosted, linux, x64]
+ runs-on: [HV, linux, x64]
timeout-minutes: 25
strategy:
matrix:
@@ -132,7 +130,7 @@ jobs:
./scripts/ue_build_linux/get_ue_toolchain.sh ./.tmp-ue-toolchain
- name: Setup xmake
- uses: xmake-io/github-action-setup-xmake@v1
+ uses: ue-foundation/[email protected]
with:
xmake-version: ${{env.XMAKE_VERSION}}
@@ -180,8 +178,8 @@ jobs:
macos-build:
needs: cancel-old-build
name: Build & Test MacOS
- runs-on: [self-hosted, macos, x64]
- timeout-minutes: 15
+ runs-on: [HV, macos, x64]
+ timeout-minutes: 25
strategy:
matrix:
config:
@@ -195,7 +193,7 @@ jobs:
uses: actions/checkout@v3
- name: Setup xmake
- uses: xmake-io/github-action-setup-xmake@v1
+ uses: ue-foundation/[email protected]
with:
xmake-version: ${{env.XMAKE_VERSION}}
@@ -228,8 +226,8 @@ jobs:
- name: Bundle
if: ${{ matrix.config == 'release' }}
- run: |
- xmake bundle -v -y --codesignidentity="Developer ID Application"
+ run: | # xmake bundle -v -y --codesignidentity="Developer ID Application"
+ xmake bundle -v -y
env:
VCPKG_ROOT: ${{ github.workspace }}/.vcpkg