Skip to content

Commit

Permalink
rusty-date CI integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier-varez committed May 9, 2024
1 parent 837e891 commit 5a1a1a0
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: sudo apt install libsdl2-dev
- run: sudo apt-get install libsdl2-dev
- run: cargo test

cargo_build:
Expand All @@ -33,7 +33,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: sudo apt install libsdl2-dev
- run: sudo apt-get install libsdl2-dev
- run: cargo build -r

cargo_fmt:
Expand All @@ -51,3 +51,19 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo doc

rusty-date:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- name: setup job
run: |
sudo apt-get install gcc-arm-none-eabi
cargo install --git=https://github.com/pd-rs/crank
wget https://download.panic.com/playdate_sdk/Linux/PlaydateSDK-latest.tar.gz
tar -xf PlaydateSDK-latest.tar.gz
rustup target add thumbv7em-none-eabihf
- run: PLAYDATE_SDK=$PWD/../PlaydateSDK-latest crank build --device --release
working-directory: rusty-date

0 comments on commit 5a1a1a0

Please sign in to comment.