Multiple OS compilation targets for an Open Source project

Hello,

I am an author of an open source project written in Haskell for the NodeJS ecosystem (https://github.com/bijoutrouvaille/fireward) and I would like to use Circle to compile its binaries in the 3 major platforms, MacOS, Windows and Linux, and upload them back to github as releases.

Is it possible with Circle? Could someone please outline the basics of the config yaml for this?

Thank you

Hi @bijoutrouvaille,

You might consider something like this to build on the 3 platforms:

version: 2.1

orbs:
  win: circleci/windows@1.0.0

jobs:
  build-windows:
    executor:
      name: win/vs2019
      shell: bash.exe
    steps:
      - checkout
      - run: echo 'Do something'
  build-macos:
    macos:
       xcode: 11.0.0
    steps:
      - checkout
      - run: echo 'Do something'
  build-linux:
    docker:
      - image: fpco/stack-build:lts
    steps:
      - checkout
      - run: echo 'Do something'
workflows:
  build-and-deploy:
    jobs:
    - build-windows
    - build-macos
    - build-linux