Skip to content

Commit

Permalink
Build and test the project.
Browse files Browse the repository at this point in the history
  • Loading branch information
izrik committed May 4, 2024
1 parent 234fa8f commit 350678e
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Pull Request Tests

on:
pull_request:

jobs:
build:
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

0 comments on commit 350678e

Please sign in to comment.