<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/46c92d8d1145aa399ffe108763a00f343ddfb42e">https://github.com/macports/macports-base/commit/46c92d8d1145aa399ffe108763a00f343ddfb42e</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 46c92d8d1 CI: select appropriate Xcode version
</span>46c92d8d1 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 46c92d8d1145aa399ffe108763a00f343ddfb42e
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Wed Jul 3 23:44:51 2024 +1000
<span style='display:block; white-space:pre;color:#404040;'> CI: select appropriate Xcode version
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/69668
</span>---
.github/workflows/coverage.yml | 3 +++
.github/workflows/main.yml | 9 +++++++++
2 files changed, 12 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
</span><span style='display:block; white-space:pre;color:#808080;'>index 479622f33..0cfe7585d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/.github/workflows/coverage.yml
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/.github/workflows/coverage.yml
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,6 +22,9 @@ jobs:
</span> run: |
sudo mkdir /opt/local.old
sudo mv /usr/local/* /opt/local.old
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ - name: Select Xcode version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ run: |
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sudo xcode-select --switch /Applications/Xcode_15.3.app/Contents/Developer
</span> - name: Configure MacPorts Base
run: |
set -eu
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
</span><span style='display:block; white-space:pre;color:#808080;'>index 4be64f463..ead334692 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/.github/workflows/main.yml
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/.github/workflows/main.yml
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,6 +23,15 @@ jobs:
</span> run: |
sudo mkdir /opt/local.old
sudo mv /usr/local/* /opt/local.old
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ - name: Select Xcode version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if: startsWith(matrix.os,'macos')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ run: |
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case "`uname -r`" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 22.*) sudo xcode-select --switch /Applications/Xcode_14.3.1.app/Contents/Developer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 23.*) sudo xcode-select --switch /Applications/Xcode_15.3.app/Contents/Developer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span> - name: Install Linux Dependencies
if: startsWith(matrix.os,'ubuntu')
run: >
</pre><pre style='margin:0'>
</pre>