make control back to use slope per beat #447
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: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
bazel: | |
name: bazel on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, macos-latest, windows-latest ] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: nttld/setup-ndk@v1 | |
id: setup-ndk | |
with: | |
ndk-version: r21e | |
- name: install | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
sudo apt-get update && sudo apt-get install -y libasound-dev | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 10 | |
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 10 | |
- name: build | |
run: bazel build ... | |
env: | |
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }} | |
- name: test | |
run: bazel test --test_output=errors ... | |
env: | |
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }} | |
cmake: | |
name: cmake on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, macos-latest, windows-latest ] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: nttld/setup-ndk@v1 | |
id: setup-ndk | |
with: | |
ndk-version: r21e | |
- name: install | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
sudo apt-get update && sudo apt-get install -y libasound-dev | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 10 | |
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 10 | |
- name: build | |
run: | | |
mkdir -p cmake-build && cd cmake-build | |
cmake .. | |
cmake --build . | |
env: | |
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }} | |
- name: test | |
run: ctest --output-on-failure | |
dev: | |
name: dev | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: check symbols | |
shell: bash | |
run: | | |
chmod +x ./dev/check_symbols.sh | |
./dev/check_symbols.sh | |
unity: | |
name: unity on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, macos-latest, windows-latest ] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: nttld/setup-ndk@v1 | |
id: setup-ndk | |
with: | |
ndk-version: r21e | |
- name: install | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
sudo apt-get update && sudo apt-get install -y libasound-dev | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 10 | |
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 10 | |
- name: build | |
shell: bash | |
run: | | |
chmod +x ./platforms/unity/build.sh | |
./platforms/unity/build.sh \ | |
$( [ ${{ matrix.os }} == 'ubuntu-latest' ] && echo '--android=true' ) | |
env: | |
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }} |