Skip to content

chore: Try forcing auto crlf on #45

chore: Try forcing auto crlf on

chore: Try forcing auto crlf on #45

Workflow file for this run

name: Build Dart Shared Library
on:
push:
branches:
- main
pull_request:
jobs:
build:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-13, macos-latest]
include:
- os: windows-latest
postfix: win
- os: ubuntu-latest
postfix: linux
- os: macos-13
postfix: macos-x64
- os: macos-latest
postfix: macos-arm64
env:
DEPOT_TOOLS_WIN_TOOLCHAIN: 0
continue-on-error: true
runs-on: ${{ matrix.os }}
steps:
- if: ${{ matrix.os == 'windows-latest' }}
run: git config --global core.autocrlf true
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- uses: ilammy/msvc-dev-cmd@v1
- run: dart pub get
working-directory: ./scripts/build_helpers
- name: Build Dart
run: dart ./scripts/build_helpers/bin/build_dart.dart -v
- name: Cmake
uses: threeal/[email protected]
with:
options:
"BUILD_SAMPLES=OFF"
- name: Build Shared Library
run: cmake --build build --config release
- name: Assemble artifacts
run: dart ./scripts/build_helpers/bin/assemble_artifacts.dart
- name: 'Upload Artifact'
uses: actions/upload-artifact@v3
with:
name: lib-${{ matrix.postfix }}
path: ./artifacts