Skip to content

Commit 65550bf

Browse files
authored
Merge pull request #27 from akien-mga/ci-streamline-packages
CI: Streamline names and contents of releases and artifacts
2 parents b64998e + 05ff763 commit 65550bf

File tree

3 files changed

+72
-84
lines changed

3 files changed

+72
-84
lines changed

.github/workflows/build.yaml

Lines changed: 45 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Build FBX2GLTF"
1+
name: "Build FBX2glTF"
22
on:
33
pull_request:
44
branches:
@@ -14,11 +14,11 @@ concurrency:
1414
cancel-in-progress: true
1515

1616
jobs:
17-
build-win-10:
17+
build-windows:
1818
runs-on: windows-2019
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v3
2222

2323
- name: Install conan
2424
run: |
@@ -82,45 +82,37 @@ jobs:
8282
./build/Release/FBX2glTF.exe --help
8383
shell: bash
8484

85-
- name: Copy licenses
85+
- name: Prepare artifacts
8686
run: |
87-
mkdir -p result
88-
cp sdk/Windows/2020.2/License.rtf thirdparty-license.rtf
89-
cp build/Release/FBX2glTF.exe FBX2glTF.exe
87+
export TARGET=FBX2glTF-windows-x86_64
88+
mkdir $TARGET
89+
cp sdk/Windows/2020.2/License.rtf $TARGET/FBX-SDK-License.rtf
90+
cp LICENSE $TARGET/FBX2glTF-License.txt
91+
cp build/Release/FBX2glTF.exe $TARGET/FBX2glTF-windows-x86_64.exe
92+
7z a -r $TARGET.zip $TARGET
9093
shell: bash
9194

9295
- name: Release
9396
uses: softprops/action-gh-release@v1
9497
if: startsWith(github.ref, 'refs/tags/')
9598
with:
9699
files: |
97-
thirdparty-license.rtf
98-
LICENSE
99-
FBX2glTF.exe
100+
FBX2glTF-windows-x86_64.zip
101+
FBX2glTF-windows-x86_64/FBX2glTF-License.txt
102+
FBX2glTF-windows-x86_64/FBX-SDK-License.rtf
100103
101-
- name: FBX2glTF.exe
104+
- name: FBX2glTF-windows-x86_64
102105
uses: actions/upload-artifact@v3
103106
with:
104-
name: FBX2glTF.exe
105-
path: FBX2glTF.exe
107+
name: FBX2glTF-windows-x86_64
108+
path: FBX2glTF-windows-x86_64/*
106109

107-
- name: thirdparty-license.rtf
108-
uses: actions/upload-artifact@v3
109-
with:
110-
name: thirdparty-license.rtf
111-
path: thirdparty-license.rtf
112-
113-
- name: Archive results
114-
uses: actions/upload-artifact@v3
115-
with:
116-
name: LICENSE
117-
path: LICENSE
118110

119-
build-ubuntu:
111+
build-linux:
120112
runs-on: ubuntu-20.04
121113
steps:
122114
- name: Checkout
123-
uses: actions/checkout@v2
115+
uses: actions/checkout@v3
124116

125117
- name: Install conan
126118
run: |
@@ -184,48 +176,39 @@ jobs:
184176
./build/FBX2glTF --help
185177
shell: bash
186178

187-
- name: Copy licenses
179+
- name: Prepare artifacts
188180
run: |
189-
mkdir -p result
190-
cp sdk/Linux/2020.2/License.txt thirdparty-license.txt
191-
cp build/FBX2glTF FBX2glTF
181+
export TARGET=FBX2glTF-linux-x86_64
182+
mkdir $TARGET
183+
cp sdk/Linux/2020.2/License.txt $TARGET/FBX-SDK-License.txt
184+
cp LICENSE $TARGET/FBX2glTF-License.txt
185+
cp build/FBX2glTF $TARGET/FBX2glTF-linux-x86_64
186+
7z a -r $TARGET.zip $TARGET
192187
shell: bash
193188

194189
- name: Release
195-
if: startsWith(github.ref, 'refs/tags/')
196190
uses: softprops/action-gh-release@v1
191+
if: startsWith(github.ref, 'refs/tags/')
197192
with:
198-
files: |
199-
thirdparty-license.txt
200-
LICENSE
201-
FBX2glTF
193+
files: FBX2glTF-linux-x86_64.zip
202194

203-
- name: Archive results
195+
- name: FBX2glTF-linux-x86_64
204196
uses: actions/upload-artifact@v3
205197
with:
206-
name: FBX2glTF
207-
path: FBX2glTF
198+
name: FBX2glTF-linux-x86_64
199+
path: FBX2glTF-linux-x86_64/*
208200

209-
- name: thirdparty-license.txt
210-
uses: actions/upload-artifact@v3
211-
with:
212-
name: thirdparty-license.txt
213-
path: thirdparty-license.txt
214201

215-
- name: LICENSE
216-
uses: actions/upload-artifact@v3
217-
with:
218-
name: LICENSE
219-
path: LICENSE
220-
221-
build-macos-x86_64:
202+
build-macos:
222203
runs-on: macos-11
223204
steps:
224205
- name: Checkout
225-
uses: actions/checkout@v2
206+
uses: actions/checkout@v3
226207

227208
- name: Update python
228-
uses: actions/setup-python@v1
209+
uses: actions/setup-python@v4
210+
with:
211+
python-version: '3'
229212

230213
- name: Install conan
231214
run: |
@@ -294,36 +277,24 @@ jobs:
294277
codesign -s - --options=runtime build/FBX2glTF
295278
shell: bash
296279

297-
- name: Copy licenses
280+
- name: Prepare artifacts
298281
run: |
299-
mkdir -p result
300-
cp sdk/Darwin/2020.2/License.rtf thirdparty-license.rtf
301-
cp build/FBX2glTF FBX2glTF-macos-x86_64
282+
export TARGET=FBX2glTF-macos-x86_64
283+
mkdir $TARGET
284+
cp sdk/Darwin/2020.2/License.rtf $TARGET/FBX-SDK-License.rtf
285+
cp LICENSE $TARGET/FBX2glTF-License.txt
286+
cp build/FBX2glTF $TARGET/FBX2glTF-macos-x86_64
287+
7z a -r $TARGET.zip $TARGET
302288
shell: bash
303289

304290
- name: Release
305291
uses: softprops/action-gh-release@v1
306292
if: startsWith(github.ref, 'refs/tags/')
307293
with:
308-
files: |
309-
thirdparty-license.rtf
310-
LICENSE
311-
FBX2glTF-macos-x86_64
294+
files: FBX2glTF-macos-x86_64.zip
312295

313296
- name: FBX2glTF-macos-x86_64
314297
uses: actions/upload-artifact@v3
315298
with:
316-
name: macos-packages
317-
path: FBX2glTF-macos-x86_64
318-
319-
- name: thirdparty-license.rtf
320-
uses: actions/upload-artifact@v3
321-
with:
322-
name: thirdparty-license.rtf
323-
path: thirdparty-license.rtf
324-
325-
- name: LICENSE
326-
uses: actions/upload-artifact@v3
327-
with:
328-
name: LICENSE
329-
path: LICENSE
299+
name: FBX2glTF-macos-x86_64
300+
path: FBX2glTF-macos-x86_64/*

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ BSD License
22

33
For FBX2glTF software
44

5-
Copyright (c) 2020-2021 V-Sekai Contributors (see credits in README.md)
5+
Copyright (c) 2020-2022 V-Sekai contributors.
66
Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
77

88
Redistribution and use in source and binary forms, with or without modification,

README.md

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,38 @@
1-
# FBX2GLTF
1+
# FBX2glTF
22

3-
A command-line tool for the conversion of 3D model assets on the FBX file format to the glTF file format.
3+
A command-line tool for the conversion of 3D model assets on the FBX file format
4+
to the glTF file format.
45

56
Change skinning-weights to 4 if your engine does not support that feature.
67

78
Change the default import of the engine to be different from 30 fps if needed.
89

9-
## Platform binaries
10+
## License
11+
12+
The FBX2glTF command line tool is distributed under the 3-clause BSD license.
13+
14+
Precompiled binaries include **proprietary code** from the Autodesk FBX SDK 2020,
15+
which is distributed under the
16+
[Autodesk LICENSE AND SERVICES AGREEMENT](https://github.com/godotengine/FBX2glTF/releases/latest/download/FBX-SDK-License.rtf).
1017

11-
`FBX2glTF` is for Linux and built on Ubuntu 20.04.
18+
**By downloading and using this tool, you agree to the terms of that Autodesk
19+
proprietary license.**
20+
21+
## Platform binaries
1222

13-
`FBX2glTF-macos-x86_64` is for macos.
23+
Check the [latest release](https://github.com/godotengine/FBX2glTF/releases/latest/)
24+
for the last precompiled binaries for Linux, macOS, and Windows.
1425

15-
`FBX2glTF.exe` is for Windows. **REQUIRES MVSC redistributable on Windows** https://support.microsoft.com/en-ca/help/2977003/the-latest-supported-visual-c-downloads
26+
- Linux x86_64: [`FBX2glTF-linux-x86_64.zip`](https://github.com/godotengine/FBX2glTF/releases/latest/download/FBX2glTF-linux-x86_64.zip)
27+
* It is built on Ubuntu 20.04 and requires glibc 2.31 or newer.
28+
- macOS x86_64: [`FBX2glTF-macos-x86_64.zip`](https://github.com/godotengine/FBX2glTF/releases/latest/download/FBX2glTF-macos-x86_64.zip)
29+
* It should work fine for macOS ARM64 too using Rosetta 2.
30+
- Windows x86_64: [`FBX2glTF-windows-x86_64.zip`](https://github.com/godotengine/FBX2glTF/releases/latest/download/FBX2glTF-windows-x86_64.zip)
31+
* [**Requires Microsot Visual C++ Redistributable.**](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist)
1632

17-
## Build Instructions
33+
There are also artifacts of the latest commit for Linux, macOS, and Windows
34+
in the [GitHub Actions](https://github.com/godotengine/FBX2glTF/actions) tab.
1835

19-
Reference the Github workflow.
36+
## Build instructions
2037

21-
There are artifacts in the Github Actions for Windows, MacOS and Linux.
38+
Reference the [GitHub workflow](https://github.com/godotengine/FBX2glTF/blob/master/.github/workflows/build.yaml).

0 commit comments

Comments
 (0)