添加macos和linux的测试

This commit is contained in:
shenjack 2024-02-01 21:43:43 +08:00
parent c3313f8230
commit 0f88621758
Signed by: shenjack
GPG Key ID: 7B1134A979775551
2 changed files with 3 additions and 2 deletions

3
.github/main.yml vendored
View File

@ -14,8 +14,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
# os: [macos-latest, ubuntu-latest, windows-latest] os: [macos-latest, ubuntu-latest, windows-latest]
os: [windows-latest]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}

View File

@ -1,8 +1,10 @@
#![windows_subsystem = "windows"] #![windows_subsystem = "windows"]
// #[cfg(not(windows))] // #[cfg(not(windows))]
#[allow(unused)]
mod other; mod other;
#[cfg(windows)] #[cfg(windows)]
#[allow(unused)]
mod win; mod win;
mod config; mod config;