Bump libc from 0.2.158 to 0.2.168 #147
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
permissions: | |
contents: read | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
name: test | |
jobs: | |
required: | |
runs-on: ${{ matrix.os }} | |
name: ${{ matrix.os }} / ${{ matrix.toolchain }} | |
strategy: | |
matrix: | |
toolchain: [nightly] | |
os: [ubuntu-latest, macos-13] | |
include: | |
- os: macos-13 | |
is_mac: 1 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install X libraries (ubuntu) | |
if: ${{ ! matrix.is_mac }} | |
run: | | |
sudo apt-get update | |
sudo apt-get install libxft-dev libxinerama-dev | |
- name: Install X libraries (mac) | |
if: ${{ matrix.is_mac }} | |
run: | | |
brew install libxft libxinerama | |
- name: Install ${{ matrix.toolchain }} | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ matrix.toolchain }} | |
- name: cargo generate-lockfile | |
if: hashFiles('Cargo.lock') == '' | |
run: cargo generate-lockfile | |
# https://twitter.com/jonhoo/status/1571290371124260865 | |
- name: cargo test --locked | |
run: cargo test --locked --all-features --lib --bins --tests --examples -- --test-threads=1 | |
- name: cargo bench | |
run: cargo bench |