version 1.5.1-dev #31
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: Check Build | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build-ubuntu: | |
name: Check Ubuntu Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install system dependencies | |
run: sudo apt install libcurl4-openssl-dev && sudo apt remove libdeflate-dev -y | |
- name: Check build | |
run: mkdir build && cd build && cmake ../ -DCMAKE_INSTALL_PREFIX=../ && make && make install | |
- name: Install Check | |
run: ./bin/biscuit version | |
# These haven't been generated yet, so uncomment when ready | |
# - name: Run tests | |
# run: make check | |
build-mac: | |
name: Check macOS Build | |
# macos-latest is now ARM-only, macos-13 is the most recent version that supports x86-64 | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check build | |
run: mkdir build && cd build && cmake ../ -DCMAKE_INSTALL_PREFIX=../ && make && make install | |
- name: Install Check | |
run: ./bin/biscuit version | |
# These haven't been generated yet, so uncomment when ready | |
# - name: Run tests | |
# run: make check |