File tree Expand file tree Collapse file tree 2 files changed +70
-73
lines changed
Expand file tree Collapse file tree 2 files changed +70
-73
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : " Build FBX2GLTF for Windows 10 ."
1+ name : " Build FBX2GLTF for Ubuntu ."
22on : [push, pull_request]
33jobs :
44 build-win-10 :
7070 with :
7171 name : FBX2glTF-windows-x64.exe
7272 path : FBX2glTF/build/Release/FBX2glTF.exe
73+ build-ubuntu :
74+ runs-on : ubuntu-latest
75+ steps :
76+ - name : Install conan
77+ run : |
78+ pip install --upgrade conan
79+ shell : bash
80+
81+ - name : Setup conan profile
82+ run : |
83+ conan profile new default --detect
84+ conan profile show default
85+ shell : bash
86+
87+ - name : Setup filter.lfs.required
88+ run : |
89+ git config --global filter.lfs.required false
90+ shell : bash
91+
92+ - name : Setup filter.lfs.smudge
93+ run : |
94+ git config --global filter.lfs.smudge "git-lfs smudge --skip %f"
95+ shell : bash
96+
97+ - name : Setup filter.lfs.process
98+ run : |
99+ git config --global filter.lfs.process "git-lfs filter-process --skip"
100+ shell : bash
101+
102+ - name : Curl sdk
103+ run : |
104+ curl -O -L "https://github.com/V-Sekai/FBXSDK-Linux/archive/refs/tags/2020.2.zip"
105+ shell : cmd
106+
107+ - name : install 7z extract
108+ run : |
109+ 7z x 2020.2.zip
110+ shell : cmd
111+
112+ - name : move
113+ run : |
114+ mkdir -p sdk
115+ mv ./FBXSDK-Windows-2020.2/sdk ./sdk
116+ shell : bash
117+
118+ - name : Decompress sdk
119+ run : |
120+ zstd -d -r --rm ./FBX2glTF/sdk
121+ shell : cmd
122+
123+ - name : Add conan remote
124+ run : |
125+ conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
126+ shell : cmd
127+
128+ - name : Conan install
129+ run : |
130+ conan install . -i build -s build_type=Release -s --build fmt --build libiconv --build=libxml2 --build=zlib --build=bzip
131+ shell : cmd
132+
133+ - name : Conan build
134+ run : |
135+ conan build -bf build .
136+ shell : cmd
137+
138+ - uses : actions/upload-artifact@v2
139+ with :
140+ name : FBX2glTF-linux
141+ path : FBX2glTF/build/Release/FBX2glTF
You can’t perform that action at this time.
0 commit comments