This commit is contained in:
cmclark00 2024-08-13 22:04:42 -04:00
parent 8e667f8d8c
commit 72a4356e4a

View file

@ -34,49 +34,3 @@ jobs:
with: with:
name: linux-${{ matrix.arch }}-binaries name: linux-${{ matrix.arch }}-binaries
path: build/* path: build/*
build-macos:
name: Build on macOS
runs-on: macos-latest
strategy:
matrix:
arch: [x64, arm64]
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
run: brew install cmake
- name: Build
run: |
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES=$(if [ "${{ matrix.arch }}" == "x64" ]; then echo "x86_64"; else echo "arm64"; fi)
make
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: macos-${{ matrix.arch }}-binaries
path: build/*
build-windows:
name: Build on Windows
runs-on: windows-latest
strategy:
matrix:
arch: [x64, arm64]
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
run: |
choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'
choco install mingw
- name: Build
run: |
mkdir build
cd build
cmake .. -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release
mingw32-make
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: windows-${{ matrix.arch }}-binaries
path: build/*