Skip to content

Apply Gyro Axis Corrections in Vita Virtual Device Implementation #1

Apply Gyro Axis Corrections in Vita Virtual Device Implementation

Apply Gyro Axis Corrections in Vita Virtual Device Implementation #1

Workflow file for this run

name: Build and test
on:
push:
branches:
- main
pull_request:
jobs:
client:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 18
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf make git-core cmake python3
- uses: actions/checkout@v3
with:
repository: google/flatbuffers
path: flatbuffers
- name: Install flatc
run: |
cmake -B build -S flatbuffers
cmake --install build
- name: install frontend dependencies
run: cd client/packages/gui && pnpm install
- uses: tauri-apps/tauri-action@v0
with:
projectPath: client/packages/gui
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
server:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install flatc
run: |
sudo apt-get update
sudo apt-get install -y make git-core cmake python3
git clone https://github.com/google/flatbuffers.git
cd flatbuffers
cmake -G "Unix Makefiles"
make -j
sudo make install
- name: Install VitaSDK
run: |
echo "VITASDK=/usr/local/vitasdk" >> $GITHUB_ENV
git clone https://github.com/vitasdk/vdpm
cd vdpm
export VITASDK=/usr/local/vitasdk
./bootstrap-vitasdk.sh
./install-all.sh
- name: Install flatbuffers
run: |
sudo apt-get install -y libarchive-tools xutils-dev
git clone https://github.com/musikid/packages
cd packages/flatbuffers
export PATH="$VITASDK/bin:$PATH"
vita-makepkg -C -f -d -i
- name: Build
run: |
cmake -S server -B build -D CMAKE_BUILD_TYPE=Release
cmake --build build