Skip to content

Add GitHub action for build and test on macOS #635

Add GitHub action for build and test on macOS

Add GitHub action for build and test on macOS #635

Workflow file for this run

name: sw
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-22.04, macos-12]
steps:
- uses: actions/checkout@v1
- uses: egorpugin/sw-action@master
- name: build
if: matrix.os == 'windows-latest'
run: ./sw -static -shared -config d,r build
- name: build
if: matrix.os != 'windows-latest'
run: ./sw -static -shared -config d,r build