This repository has been archived by the owner on Nov 12, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 8
43 lines (42 loc) · 1.54 KB
/
c-cpp.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
43
name: CI
env:
BUILD_CONFIGURATION: Release
on: [push, pull_request]
jobs:
Linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
lfs: false
- name: Get dependencies
run: sudo apt update && sudo apt-get install x11-xserver-utils libgl1-mesa-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev gcc make g++ libxmu-dev libxi-dev libgl-dev libglu1-mesa-dev libvulkan1 mesa-vulkan-drivers vulkan-tools libvulkan-dev libasound2-dev libflac-dev libogg-dev libtool libvorbis-dev libopus-dev libsndfile1-dev libglew-dev libssl-dev zlib1g zlib1g-dev
- name: Checkout submodules
shell: bash
run: |
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Install the engine
shell: bash
run: ./install.sh ci
- name: Install the project
shell: bash
run: ./create-project.sh t ci
Windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
lfs: true
- name: Checkout submodules
run: |
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Checkout LFS objects
run: git lfs checkout
- name: Set MSBuild env
uses: microsoft/[email protected]
- name: Install the engine
run: bash install.sh ci
- name: Install the project
run: bash create-project.sh t ci