mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-13 11:02:47 +01:00
install in local folder and archive in CI
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user