docs: Update README.md (#396) #182
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| jobs: | |
| build-linux: | |
| name: Build (Linux) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get -y install gperf desktop-file-utils libgtk-3-dev libgtk-4-dev libjudy-dev libgirepository1.0-dev | |
| - name: Install meson | |
| run: pip install meson ninja | |
| - name: Setup meson build | |
| run: meson setup build | |
| - name: Compile GTKWave | |
| run: meson compile -C build | |
| - name: Run tests | |
| run: meson test -C build -v | |
| build-macos: | |
| name: Build (macOS) | |
| runs-on: macos-14 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: brew install meson ninja gtk+3 gtk4 gtk-mac-integration gobject-introspection shared-mime-info desktop-file-utils | |
| - name: Setup xcode | |
| uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: 15.3.0 | |
| - name: Setup meson build | |
| run: meson setup build | |
| - name: Compile GTKWave | |
| run: meson compile -C build | |
| - name: Run tests | |
| run: meson test -C build -v |