install in local folder and archive in CI

This commit is contained in:
adam-bloom 2021-01-09 21:22:17 -07:00
parent 29c37b8ae4
commit 9d64df3a89
2 changed files with 6 additions and 2 deletions

View File

@ -160,7 +160,11 @@ jobs:
- name: Run Tests
shell: bash
run: . scripts/setenv -q && run-tests
# Should we upload any of these artifacts? Probably not...
- name: Upload artifacts (CI)
uses: actions/upload-artifact@v2-preview
with:
name: "OpenRCT2-macOS-cmake"
path: build/install/*
linux-portable:
name: Linux (x64, portable)

View File

@ -36,7 +36,7 @@ else
# macOS runners do not have Ninja installed by default
if [[ $(uname) == "Darwin" ]]; then
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local "$@"
cmake .. -DCMAKE_INSTALL_PREFIX=./install "$@"
else
cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX=/usr "$@"
fi