fix: replace is_crate_type_lib by filter_crate_type to support extra crate-types #49
Workflow file for this run
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
name: Rap-booting and testing | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Code Formatting Check | |
run: cd rap && cargo fmt --check | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install ninja | |
run: | | |
pip install ninja | |
- name: Build RAP | |
run: | | |
chmod +x ./install.sh | |
./install.sh |