install in local folder and archive in CI

This commit is contained in:
adam-bloom committed 2021-02-28 15:48:30 -07:00
1 parent 29c37b8ae4
commit 9d64df3a89
2 files changed
+6 -2

No files matched your search

+5 -1
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)
+1 -1
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