forked from citizenfx/fivem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
39 lines (33 loc) · 1002 Bytes
/
appveyor.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
version: 1.0.{build}
clone_depth: 1
environment:
matrix:
- IS_FXSERVER: 0
APPVEYOR_BUILD_WORKER_CLOUD: OMNITRON
APPVEYOR_BUILD_WORKER_IMAGE: Windows20200507
- IS_FXSERVER: 1
APPVEYOR_BUILD_WORKER_CLOUD: OMNITRON
APPVEYOR_BUILD_WORKER_IMAGE: Windows20200507
# - IS_FXSERVER: 1
# APPVEYOR_BUILD_WORKER_CLOUD: REMOTE2
# APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu20200507_Docker
# APPVEYOR_YML_DISABLE_PS_LINUX: true
services:
- docker
build_script:
#################
# windows steps #
#################
- ps: Install-Product node 12 x64
- ps: .\code\tools\ci\build.ps1 -DontUpload $true -SaveDir C:\save
###############
# linux steps #
###############
- sh: git submodule update --init
- sh: curl -O -L https://github.com/Hellslicer/rocker/releases/download/1.3.4/rocker_linux_amd64.tar.gz
- sh: tar xvf rocker_linux_amd64.tar.gz
- sh: cd code/
# TODO: tags/docker upload/secure creds
- sh: '../rocker build --build-arg JOB_SLOTS=$(nproc)'
artifacts:
- path: caches/