Add build yaml

This commit is contained in:
hodasemi 2023-08-14 21:27:31 +02:00
parent d31871bd49
commit 4e52eaa51a
2 changed files with 11 additions and 2 deletions

View file

@ -0,0 +1,9 @@
name: Gitea Actions Test
run_name: ${{ gitea.actor }} is testing out Gitea Actions
on:
pull_request:
types: [opened, reopened, edited, review_requested]
jobs:
runs-on: ubuntu-latest
steps:
run: cargo build --release

View file

@ -92,8 +92,8 @@ fn main() -> ! {
}
let mut delay = Delay::new(core.SYST, clocks.system_clock.freq().to_Hz());
const PIXEL: i8 = 100;
const WAIT_TIME: u32 = 1000;
const PIXEL: i8 = 2;
const WAIT_TIME: u32 = 10000;
loop {
mouse_move(&mut delay, WAIT_TIME, PIXEL);