chore: better imports structure #153
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Extra Workflow | |
on: | |
push: | |
schedule: | |
- cron: "0 0 * * 0" | |
jobs: | |
build-windows: | |
name: Build Windows | |
timeout-minutes: 30 | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code from repository | |
uses: actions/checkout@v4 | |
- name: Setup Rust | |
run: | | |
rustup install 1.74.0 | |
rustup override set 1.74.0 | |
rustup default stable-msvc | |
- name: Setup SDL | |
run: | | |
cd frontends/sdl | |
cargo install cargo-vcpkg && cargo vcpkg -v build | |
- name: Test Base | |
run: cargo test | |
- name: Build Base | |
run: cargo build --release | |
- name: Test SDL | |
run: | | |
cd frontends/sdl | |
cargo test | |
- name: Test All | |
run: cargo test --all | |
- name: Build SDL | |
run: | | |
cd frontends/sdl | |
cargo build --release | |
- name: Build Libretro | |
run: | | |
cd frontends/libretro | |
cargo build --release | |
build-mac: | |
name: Build Mac | |
timeout-minutes: 30 | |
runs-on: macos-latest | |
steps: | |
- name: Checkout code from repository | |
uses: actions/checkout@v4 | |
- name: Setup Rust | |
run: | | |
rustup install 1.74.0 | |
rustup override set 1.74.0 | |
- name: Setup SDL | |
run: | | |
cd frontends/sdl | |
cargo install cargo-vcpkg && cargo vcpkg -v build | |
- name: Test Base | |
run: cargo test | |
- name: Build Base | |
run: cargo build --release | |
- name: Test SDL | |
run: | | |
cd frontends/sdl | |
cargo test | |
- name: Test All | |
run: cargo test --all | |
- name: Build SDL | |
run: | | |
cd frontends/sdl | |
cargo install cargo-vcpkg && cargo vcpkg -v build | |
cargo build --release | |
- name: Build Libretro | |
run: | | |
cd frontends/libretro | |
cargo build --release |