so much a constant #13
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: tazar build | |
on: | |
push: | |
pull_request: | |
jobs: | |
windows: | |
runs-on: windows-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Deps (ninja) | |
run: choco install ninja | |
- name: Deps (clang) | |
shell: powershell | |
run: choco install llvm -y | |
- name: Configure CMake | |
working-directory: cmake | |
run: | | |
cmake -S . -G Ninja -B cmake-windows-clang-17 -DCMAKE_C_COMPILER=clang -DCMAKE_C_STANDARD=17 -DCMAKE_BUILD_TYPE=Release | |
- name: Release with CMake | |
working-directory: cmake | |
run: cmake --build cmake-windows-clang-17 --target tazar | |
- name: Upload | |
uses: actions/upload-artifact@v4 | |
with: | |
name: tazar.exe | |
path: cmake/cmake-windows-clang-17/tazar.exe | |
macos: | |
runs-on: macos-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Configure CMake | |
working-directory: cmake | |
run: | | |
cmake -S . -B cmake-macos-clang-17 -DCMAKE_C_COMPILER=clang -DCMAKE_C_STANDARD=17 -DCMAKE_BUILD_TYPE=Release | |
- name: Release with CMake | |
working-directory: cmake | |
run: cmake --build cmake-macos-clang-17 --target tazar | |
- name: Upload | |
uses: actions/upload-artifact@v4 | |
with: | |
name: tazar | |
path: cmake/cmake-macos-clang-17/tazar |