- ensure expat, zlib and bz2 are available on ubuntu #107
Workflow file for this run
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: Build and Test | |
on: | |
push: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
name: Build and Test | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-14, macos-latest, windows-latest, ubuntu-latest] | |
include: | |
- os: macos-14 | |
name: 'macOS ARM' | |
- os: macos-latest | |
name: 'macOS x86' | |
- os: windows-latest | |
name: 'Windows' | |
- os: ubuntu-latest | |
name: 'Ubuntu' | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install Ubuntu dependencies | |
if: matrix.os == 'ubuntu-latest' | |
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev libbz2-dev libexpat1-dev | |
- name: Build | |
run: cargo build | |
- name: Run tests | |
run: cargo test |