Skip to content

Commit

Permalink
use makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
seiren-games committed Dec 29, 2023
1 parent efdb8a8 commit fade1e1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,18 @@ jobs:
- run: rustup show
- run: rustup component list --installed
- run: cargo --version
- run: cargo build -vv

- run: choco --version
# - run: choco install mingw -y
- name: Display PATH
run: echo $Env:PATH
- run: copy "C:\mingw64\bin\gcc.exe" "C:\mingw64\bin\cc.exe"
- run: dir "C:\mingw64\bin"
- run: gcc --version
- run: cc --version

- run: cargo install cargo-make
- run: cargo make build-plain -vv
- run: cargo test _ci -- --nocapture
- run: rustup component add clippy
- run: cargo clippy
2 changes: 1 addition & 1 deletion raylib-rs-plain/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use std::ffi::CString;
use std::ptr::null_mut;
pub mod color_define;
pub use color_define as color;
// wip: pub mod function;
pub mod function;

pub fn init_window(width: ::std::os::raw::c_int, height: ::std::os::raw::c_int, title: &str) {
let title: CString = CString::new(title).unwrap();
Expand Down

0 comments on commit fade1e1

Please sign in to comment.