ci: Add macOS qt5 to PATH; fix Windows install dir

This commit is contained in:
Luke Street 2021-06-12 10:02:12 -04:00
parent 1843eef976
commit dce1c1f882
3 changed files with 17 additions and 10 deletions

View File

@ -109,6 +109,7 @@ jobs:
# universal qt5 from macports # universal qt5 from macports
curl -LSfs https://axiodl.com/files/qt-$Qt_VERSION.mpkg -o /tmp/qt-$Qt_VERSION.mpkg curl -LSfs https://axiodl.com/files/qt-$Qt_VERSION.mpkg -o /tmp/qt-$Qt_VERSION.mpkg
sudo installer -pkg /tmp/qt-$Qt_VERSION.mpkg -target / sudo installer -pkg /tmp/qt-$Qt_VERSION.mpkg -target /
echo /opt/local/libexec/qt5/bin >> $GITHUB_PATH
# setup buildcache # setup buildcache
curl -LSfs https://github.com/mbitsnbites/buildcache/releases/download/$BUILDCACHE_VERSION/buildcache-macos.zip -o /tmp/buildcache-macos.zip curl -LSfs https://github.com/mbitsnbites/buildcache/releases/download/$BUILDCACHE_VERSION/buildcache-macos.zip -o /tmp/buildcache-macos.zip

View File

@ -127,6 +127,7 @@ jobs:
# universal qt5 from macports # universal qt5 from macports
curl -LSfs https://axiodl.com/files/qt-$Qt_VERSION.mpkg -o /tmp/qt-$Qt_VERSION.mpkg curl -LSfs https://axiodl.com/files/qt-$Qt_VERSION.mpkg -o /tmp/qt-$Qt_VERSION.mpkg
sudo installer -pkg /tmp/qt-$Qt_VERSION.mpkg -target / sudo installer -pkg /tmp/qt-$Qt_VERSION.mpkg -target /
echo /opt/local/libexec/qt5/bin >> $GITHUB_PATH
# setup buildcache # setup buildcache
curl -LSfs https://github.com/mbitsnbites/buildcache/releases/download/$BUILDCACHE_VERSION/buildcache-macos.zip -o /tmp/buildcache-macos.zip curl -LSfs https://github.com/mbitsnbites/buildcache/releases/download/$BUILDCACHE_VERSION/buildcache-macos.zip -o /tmp/buildcache-macos.zip
@ -242,7 +243,7 @@ jobs:
run: buildcache -s run: buildcache -s
- name: Upload debug information - name: Upload debug information
working-directory: ${{github.workspace}}/out/install working-directory: ${{env.BUILD_DIR}}/install
env: env:
SENTRY_AUTH_TOKEN: ${{secrets.SENTRY_AUTH_TOKEN}} SENTRY_AUTH_TOKEN: ${{secrets.SENTRY_AUTH_TOKEN}}
SENTRY_URL: ${{secrets.SENTRY_URL}} SENTRY_URL: ${{secrets.SENTRY_URL}}
@ -255,8 +256,8 @@ jobs:
with: with:
name: metaforce-${{env.METAFORCE_VERSION}}-win32-msvc-x86_64 name: metaforce-${{env.METAFORCE_VERSION}}-win32-msvc-x86_64
path: | path: |
out/install/*.exe ${{env.BUILD_DIR}}/install/*.exe
out/install/debug.7z ${{env.BUILD_DIR}}/install/debug.7z
build-windows-clang: build-windows-clang:
name: Build Windows (Clang x86_64) name: Build Windows (Clang x86_64)
@ -332,5 +333,5 @@ jobs:
with: with:
name: metaforce-${{env.METAFORCE_VERSION}}-win32-clang-x86_64 name: metaforce-${{env.METAFORCE_VERSION}}-win32-clang-x86_64
path: | path: |
out/install/*.exe ${{env.BUILD_DIR}}/install/*.exe
out/install/debug.7z ${{env.BUILD_DIR}}/install/debug.7z

View File

@ -342,7 +342,8 @@
"displayName": "(Internal) Linux CI GCC", "displayName": "(Internal) Linux CI GCC",
"targets": [ "targets": [
"install" "install"
] ],
"verbose": true
}, },
{ {
"name": "x-linux-ci-clang", "name": "x-linux-ci-clang",
@ -351,7 +352,8 @@
"displayName": "(Internal) Linux CI Clang", "displayName": "(Internal) Linux CI Clang",
"targets": [ "targets": [
"install" "install"
] ],
"verbose": true
}, },
{ {
"name": "x-macos-ci", "name": "x-macos-ci",
@ -360,7 +362,8 @@
"displayName": "(Internal) macOS CI", "displayName": "(Internal) macOS CI",
"targets": [ "targets": [
"install" "install"
] ],
"verbose": true
}, },
{ {
"name": "x-windows-ci-msvc", "name": "x-windows-ci-msvc",
@ -369,7 +372,8 @@
"displayName": "(Internal) Windows CI MSVC", "displayName": "(Internal) Windows CI MSVC",
"targets": [ "targets": [
"install" "install"
] ],
"verbose": true
}, },
{ {
"name": "x-windows-ci-clang", "name": "x-windows-ci-clang",
@ -378,7 +382,8 @@
"displayName": "(Internal) Windows CI Clang", "displayName": "(Internal) Windows CI Clang",
"targets": [ "targets": [
"install" "install"
] ],
"verbose": true
} }
] ]
} }