-
Notifications
You must be signed in to change notification settings - Fork 40
37 lines (30 loc) · 1.21 KB
/
build.yaml
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
name: Pull Request Tests
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out project files
uses: actions/checkout@v3
- name: Set up dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Download and install FBXSDK files
run: |
apt update ; apt -y install gcc g++ make curl wget libxml2-dev zlib1g-dev
# download and build libiconv
mkdir -p /build/libiconv
cd /build/libiconv
wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.11.tar.gz ; tar -xvf libiconv-1.11.tar.gz
cd /build/libiconv/libiconv-1.11
./configure ; make ; make install ; make check ; make install
mkdir -p /build/fbxsdk
wget https://www.autodesk.com/content/dam/autodesk/www/adn/fbx/2020-3-4/fbx202034_fbxsdk_linux.tar.gz
wget https://damassets.autodesk.net/content/dam/autodesk/www/adn/fbx/2020-3-4/fbx202034_fbxsdk_linux.tar.gz
mkdir -p /usr/share/fbxsdk/2020.3.4
printf 'yes\nn\n' | /build/fbxsdk/fbx202034_fbxsdk_linux /usr/share/fbxsdk/2020.3.4
- name: Build and run tests
run: |
./all_build.sh