Skip to content

Add all-rust-targets recipe #2353

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
32 changes: 32 additions & 0 deletions .github/workflows/all-rust-targets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: all-rust-targets

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test-expectations:
runs-on: ${{matrix.os}}
continue-on-error: true
strategy:
matrix:
# TODO(#1954): These should be run on mac too, but turns out they're
# broken.
os: [ubuntu-latest, macos-latest]
rust: ["1.30.0", "1.33.0", "1.36.0", "1.40.0", "1.47.0", "1.64.0", nightly]
steps:
- uses: actions/checkout@v3

- name: Install rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{matrix.rust}}
override: true

- name: Test expectations
run: rm Cargo.toml; cd bindgen-tests/tests/expectations && cargo test
Loading