Update sqlpp11. #630
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |