macos pipe #512
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: Build project | |
on: [push] | |
jobs: | |
build-project-mac: | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: "build project mac" | |
run: | | |
brew install glfw | |
git submodule update --init --recursive | |
mkdir build | |
cd build | |
bash -c 'cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLES=ON ..' | |
make | |
- name: Upload artefacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Farbart macos | |
path: build/symmetri/gui/Farbart | |
build-project: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: "build project linux" | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libglfw3-dev libsdl2-dev gcc-multilib g++-multilib libfreetype6-dev libvulkan-dev | |
git submodule update --init --recursive | |
mkdir build | |
cd build | |
bash -c 'cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLES=ON ..' | |
make | |
- name: Upload gui | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Farbart linux x64-86 | |
path: build/symmetri/gui/Farbart | |
- name: "tests with ASAN" | |
run: | | |
cd build | |
bash -c 'cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON -DASAN_BUILD=ON -DTSAN_BUILD=OFF ..' | |
make | |
ctest -VV | |
- name: "tests with TSAN" | |
run: | | |
cd build | |
bash -c 'cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON -DASAN_BUILD=OFF -DTSAN_BUILD=ON ..' | |
make | |
ctest -VV |