-
Notifications
You must be signed in to change notification settings - Fork 33
51 lines (51 loc) · 1.35 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
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.73.0
rustup override set 1.73.0
rustup default stable-msvc
- name: Build Base
run: cargo build --release
- 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
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.73.0
rustup override set 1.73.0
- name: Build Base
run: cargo build --release
- 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