mirror of https://github.com/OpenRCT2/OpenRCT2.git
install in local folder and archive in CI
This commit is contained in:
parent
29c37b8ae4
commit
9d64df3a89
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue