Add build yaml
This commit is contained in:
parent
d31871bd49
commit
4e52eaa51a
2 changed files with 11 additions and 2 deletions
9
.gitea/workflows/test.yaml
Normal file
9
.gitea/workflows/test.yaml
Normal 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
|
|
@ -92,8 +92,8 @@ fn main() -> ! {
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut delay = Delay::new(core.SYST, clocks.system_clock.freq().to_Hz());
|
let mut delay = Delay::new(core.SYST, clocks.system_clock.freq().to_Hz());
|
||||||
const PIXEL: i8 = 100;
|
const PIXEL: i8 = 2;
|
||||||
const WAIT_TIME: u32 = 1000;
|
const WAIT_TIME: u32 = 10000;
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
mouse_move(&mut delay, WAIT_TIME, PIXEL);
|
mouse_move(&mut delay, WAIT_TIME, PIXEL);
|
||||||
|
|
Loading…
Reference in a new issue