From 9d64df3a89b33e71ff478ef4470f5e498ff70d97 Mon Sep 17 00:00:00 2001 From: adam-bloom Date: Sat, 9 Jan 2021 21:22:17 -0700 Subject: [PATCH] install in local folder and archive in CI --- .github/workflows/ci.yml | 6 +++++- scripts/build | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 434cff3af4..f5eac84dac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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) diff --git a/scripts/build b/scripts/build index 29118ae71a..b5c9062b8d 100755 --- a/scripts/build +++ b/scripts/build @@ -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