This repository has been archived by the owner on May 9, 2024. It is now read-only.
Bump afv-native #250
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: Vector Audio CI | |
on: | |
push: | |
branches: | |
- main | |
tags-ignore: | |
- v* | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
BUILD_TYPE: Release | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install SFML dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install libx11-dev libxrandr-dev libxi-dev libudev-dev libgl1-mesa-dev libxcursor-dev freeglut3-dev | |
- name: Configure cmake | |
run: | | |
cmake -S . -B build/ -DVCPKG_BUILD_TYPE=${{ env.BUILD_TYPE }} -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} | |
- name: Build cmake | |
run: | | |
cmake --build build/ | |
build-osx-x86: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install native dependencies | |
run: | | |
brew install pkg-config | |
- name: Configure cmake (intel) | |
run: | | |
cmake -S . -B build_intel/ -DVCPKG_BUILD_TYPE=${{ env.BUILD_TYPE }} -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DCMAKE_OSX_ARCHITECTURES=x86_64 -DVCPKG_TARGET_TRIPLET=x64-osx | |
- name: Build cmake (intel) | |
run: | | |
cmake --build build_intel/ | |
build-osx-arm64: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install native dependencies | |
run: | | |
brew install pkg-config | |
- name: Configure cmake (arm64) | |
run: | | |
cmake -S . -B build_arm64/ -DVCPKG_BUILD_TYPE=${{ env.BUILD_TYPE }} -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DCMAKE_OSX_ARCHITECTURES=arm64 -DVCPKG_TARGET_TRIPLET=arm64-osx | |
- name: Build cmake (arm64) | |
run: | | |
cmake --build build_arm64/ | |
build-windows-x64: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Configure cmake | |
run: | | |
cmake -S . -B build/ -DVCPKG_BUILD_TYPE=${{ env.BUILD_TYPE }} -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DVCPKG_TARGET_TRIPLET=x64-windows | |
- name: Build cmake | |
run: | | |
cmake --build build/ |