forked from nem0/OpenFBX
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (33 loc) · 1.03 KB
/
build.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
name: build
on: [push]
jobs:
windows:
runs-on: windows-2019
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: make project
working-directory: projects
run: |
./genie.exe vs2019
- name: build engine
working-directory: projects
shell: cmd
run: |
"C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/MSBuild/Current/Bin/MSBuild.exe" tmp/vs2019/OpenFBX.sln /p:Configuration=RelWithDebInfo
linux-gcc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: make project
working-directory: projects
run: |
./genie --gcc=linux-gcc-5 gmake
- name: build engine
working-directory: projects/tmp/gcc5
shell: bash
run: |
make