Skip to content

Merge pull request #70 from VegarRingdalAibel/bugfix #1

Merge pull request #70 from VegarRingdalAibel/bugfix

Merge pull request #70 from VegarRingdalAibel/bugfix #1

Workflow file for this run

name: Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
windows:
runs-on: windows-latest
env:
SOLUTION_FILE_PATH: msvc15/rvmparser.sln
BUILD_CONFIGURATION: Release
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.0.2
- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
- uses: actions/upload-artifact@v3
with:
name: windows-executable
path: msvc15/x64/Release/rvmparser.exe
- name: Test
run: |
cd test
.\test-win32.bat
- uses: actions/upload-artifact@v3
with:
name: windows-test-results
path: |
test/plm-sample.glb
test/plm-sample.json
test/plm-sample.obj
test/plm-sample.mtl
linux-gcc:
runs-on: ubuntu-latest
env:
CXXFLAGS: -fms-extensions
CFLAGS: -fms-extensions
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Build
run: |
cd make
make
- uses: actions/upload-artifact@v3
with:
name: linux-gcc-executable
path: make/rvmparser
linux-clang:
runs-on: ubuntu-latest
env:
CXX: clang++
CC: clang
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Build
run: |
cd make
make
- uses: actions/upload-artifact@v3
with:
name: linux-clang-executable
path: make/rvmparser
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Build
run: |
cd make
make
- uses: actions/upload-artifact@v3
with:
name: macos-executable
path: make/rvmparser