Update README.md #56
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: | |
push: | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
name: Build ${{ matrix.name }} ${{ matrix.configuration }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
name: [Windows x64, Linux, MacOS x64, MacOS ARM64] | |
configuration: [Release, Debug] | |
include: | |
- name: Windows x64 | |
os: windows-latest | |
# TOOD: setup-dotnet is broken for x86, see https://github.com/actions/setup-dotnet/issues/485 | |
#- name: Windows x86 | |
# os: windows-latest | |
# additional_args: -a x86 | |
- name: Linux | |
os: ubuntu-latest | |
- name: MacOS x64 | |
os: macos-13 | |
- name: MacOS ARM64 | |
os: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 7.x.x | |
- run: dotnet test AssimpNet.Test -c ${{ matrix.configuration }} ${{ matrix.additional_args }} | |