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
|
- name: Run Tests
|
||||||
shell: bash
|
shell: bash
|
||||||
run: . scripts/setenv -q && run-tests
|
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:
|
linux-portable:
|
||||||
name: Linux (x64, portable)
|
name: Linux (x64, portable)
|
||||||
|
|
|
@ -36,7 +36,7 @@ else
|
||||||
|
|
||||||
# macOS runners do not have Ninja installed by default
|
# macOS runners do not have Ninja installed by default
|
||||||
if [[ $(uname) == "Darwin" ]]; then
|
if [[ $(uname) == "Darwin" ]]; then
|
||||||
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local "$@"
|
cmake .. -DCMAKE_INSTALL_PREFIX=./install "$@"
|
||||||
else
|
else
|
||||||
cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX=/usr "$@"
|
cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX=/usr "$@"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue