Skip to content

Fix building on MinGW #334

Fix building on MinGW

Fix building on MinGW #334

Workflow file for this run

name: Linux
on: [push, pull_request]
jobs:
build:
name: Linux ${{ matrix.type }}
runs-on: 'ubuntu-latest'
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: mamba-org/setup-micromamba@v1
with:
init-shell: bash
environment-file: ci/environment.yml
environment-name: "pdal-build"
cache-environment: true
cache-downloads: true
- name: Setup
shell: bash -l {0}
run: |
mkdir build
source ./ci/linux/setup.sh
- name: CMake
shell: bash -l {0}
run: |
source ../ci/linux/cmake.sh
working-directory: ./build
- name: Compile
shell: bash -l {0}
run: |
source ../ci/linux/compile.sh
working-directory: ./build
- name: Test
shell: bash -l {0}
run: |
source ../ci/linux/test.sh
working-directory: ./build