Arch: Include CPU Ports in cpu arch #117
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: Rust | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Rustup | |
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | |
- name: Add rust to path | |
run: . "$HOME/.cargo/env" | |
- name: Update Rust | |
run: rustup update | |
- name: Set Nightly | |
run: rustup override set nightly | |
- name: Add Rust SRC | |
run: rustup component add rust-src | |
- name: Add LLVM Tools Preview | |
run: rustup component add llvm-tools-preview | |
- name: Update Cargo | |
run: cargo update | |
- name: Clean | |
run: cargo clean | |
- name: Build | |
run: cargo run -- build |