add the ssd1306 128x64 support #95
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: CI build | |
on: | |
push: | |
branches: ["main"] | |
paths-ignore: | |
- "*.md" | |
pull_request: | |
branches: ["main"] | |
paths-ignore: | |
- "*.md" | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use nightly Rust | |
run: | | |
rustup default nightly | |
rustup component add rust-src | |
rustup update | |
rustup target add riscv32imac-unknown-none-elf | |
rustup target add riscv32imafc-unknown-none-elf | |
rustup target add riscv32i-unknown-none-elf | |
# See https://github.com/rust-lang/rust/issues/12880 | |
touch ~/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/src/rust/Cargo.lock | |
- name: Fetch Deps | |
# if this is a pull request | |
if: github.event_name == 'pull_request' | |
run: | | |
mkdir -p ../ch32-data/build/ | |
cd ../ch32-data/build/ | |
git clone https://github.com/ch32-rs/ch32-metapac.git | |
- name: Build Only | |
run: ./ci.sh |