Skip to content

Adjust GitHub workflow #48

Adjust GitHub workflow

Adjust GitHub workflow #48

Workflow file for this run

name: CI for wxSQLite3
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install dependencies (Linux)
run: |
sudo apt-get -qq update
sudo apt-get install -y libwxgtk3.0-gtk3-dev
if: matrix.os == 'ubuntu-latest'
- name: Install dependencies (macOS)
run: |
brew install automake
brew install wxmac
if: matrix.os == 'macos-latest'
- name: Checkout
uses: actions/checkout@v3
- name: Configure
run: |
autoreconf
./configure
- name: Build
run: |
make
- name: Testing
run: |
./samples/minimal -t -s ./samples
- name: Installing
run: |
sudo make install