feat: add unit test for ply #92
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: 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] |