forked from skyrim-multiplayer/skymp
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (36 loc) · 1022 Bytes
/
pr-emscripten.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: PR Emscripten
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 0 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
VCPKG_BINARY_SOURCES: 'clear;x-gha,readwrite'
VCPKG_FEATURE_FLAGS: 'manifests'
jobs:
build:
# MacOS has powershell
runs-on: macos-14
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
submodules: 'true'
- name: Setup Emscripten environment
uses: actions/setup-python@v4
with:
python-version: '3.x'
- uses: ./.github/actions/pr_base
with:
DESCRIPTION: 'Emscripten Build'
DIST_ARTIFACT_NAME: dist-emscripten
SERVER_DIST_ARTIFACT_NAME: server-dist-emscripten
SKYMP5_PATCHES_PAT: ${{ secrets.SKYMP5_PATCHES_PAT }}
EMSCRIPTEN: true