-
Notifications
You must be signed in to change notification settings - Fork 33
74 lines (74 loc) · 1.93 KB
/
extra.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
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