diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2023-06-29 09:08:41 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2023-06-29 09:08:41 -0400 |
commit | 2ab14316488185496ec5c72fafcccd2ffdc43dfd (patch) | |
tree | 9c051cd800be8d679dec032844d8439aa5f1ff4d /.github/workflows | |
parent | 3c63cc9c55b1193f2876e7523f0b6766f5a8c5ac (diff) |
SL-18837: Temporarily suppress Windows builds; add finalize function
Also pretend novel arch value MINGW6 is really CYGWIN so we'll recognize it.
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build.yaml | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 40759823ad..f5ed5ce2ae 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,15 +13,17 @@ jobs: matrix: runner: [windows-large, macos-12-xl] configuration: [Release] - addrsize: [64] + addrsize: [32,64] python-version: ["3.11"] - include: - - runner: windows-large - configuration: Release - addrsize: 32 - python-version: "3.11" + developer_dir: ["", "/Applications/Xcode_14.0.1.app/Contents/Developer"] + exclude: - runner: macos-12-xl + addrsize: 32 + - runner: windows-large developer_dir: "/Applications/Xcode_14.0.1.app/Contents/Developer" + ## nat 2023-06-29: until we've resolved the !@#$%! Windows Python + ## permissions problem, don't even bother running Windows builds. + - runner: windows-large runs-on: ${{ matrix.runner }} env: AUTOBUILD_ADDRSIZE: ${{ matrix.addrsize }} @@ -112,6 +114,17 @@ jobs: native_path() { echo "$1"; } shell_path() { echo "$1"; } fi + finalize() + { + case "$1" in + true|0) + record_success "Build Succeeded" + ;; + *) + record_failure "Build Failed with $1" + ;; + esac + } initialize_build() { echo "initialize_build" @@ -147,9 +160,12 @@ jobs: { echo "Not sleeping for $1 seconds" } - export -f native_path shell_path initialize_build initialize_version + export -f native_path shell_path finalize initialize_build initialize_version export -f python_cmd repo_branch record_dependencies_graph sleep export arch=$(uname | cut -b-6) + # Surprise! GH Windows runner's MINGW6 is a $arch value we've never + # seen before, so numerous tests don't know about it. + [[ "$arch" == "MINGW6" ]] && arch=CYGWIN export AUTOBUILD="$(which autobuild)" # Build with a tag like "Second Life Project Shiny:abcdef0" to get a # viewer channel "Second Life Project Shiny" (ignoring ":hash", |