Skip to content

Update sqlpp11.

Update sqlpp11. #630

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-20.04, macos-latest] # , macos-11.0 not working atm
steps:
- uses: actions/checkout@v1
- uses: egorpugin/sw-action@master
- name: Install (Linux)
if: runner.os == 'Linux'
run: |
sudo apt update
sudo apt install flex bison
- name: Install (macOS)
if: runner.os == 'macOS'
run: |
brew install flex bison
- name: build (non macOS)
if: runner.os != 'macOS'
run: ./sw -static build
- name: build (macOS)
if: runner.os == 'macOS'
run: |
export PATH="/usr/local/opt/flex/bin:$PATH"
export PATH="/usr/local/opt/bison/bin:$PATH"
./sw -static build
- uses: actions/upload-artifact@v1
with:
name: sw
path: .sw/out