Optics - indenting, hardening #144
Workflow file for this run
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: C/C++ CI | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest] | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: | | |
if [ "${{ matrix.os }}" = "macos-latest" ]; then | |
brew update | |
brew install wxwidgets m4 tinyxml zstd autoconf libtool automake wxwidgets libpng sqlite | |
brew install dylibbundler | |
elif [ "${{ matrix.os }}" = "ubuntu-latest" ]; then | |
sudo apt-get update | |
sudo apt install libwxgtk3.2-dev || sudo apt install wx3.2-headers || sudo apt install libwxgtk3.0-gtk3-dev || sudo apt install libwxgtk3.0-dev | |
fi | |
- name: remove local redundancy to build-deps | |
run: rm -f mysql* sqlite* && rm -rf clustalw tinyxml | |
- name: autogen | |
run: ./autogen.sh | |
- name: configure | |
run: ./configure | |
- name: make | |
run: make |