forked from ConfettiFX/The-Forge
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (38 loc) · 1.07 KB
/
build.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
name: CI
on: [push, pull_request]
jobs:
linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install libgtk-3-dev libudev-dev libx11-dev libxrandr-dev
- uses: dtolnay/install-buck2@latest
- name: Run Test
run: |
cd ${{ github.workspace }}
buck2 test --target-platforms tf_platform//:linux_x86_64 tf//...
windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- uses: dtolnay/install-buck2@latest
- name: Run Test
run: |
cd ${{ github.workspace }}
buck2 test --target-platforms tf_platform//:windows_11_x86_64 tf//...
# macos-build-and-test:
# runs-on: macos-latest
# steps:
# - uses: maxim-lobanov/[email protected]
# with:
# xcode-version: 15.3.0
# - uses: actions/[email protected]