From f143ad7975ccf611617d9e9573f691798de635cc Mon Sep 17 00:00:00 2001 From: Wenduo Wang Date: Thu, 18 Jul 2024 17:08:37 -0700 Subject: [PATCH] TEST MACOS INTEL Signed-off-by: Wenduo Wang --- .github/workflows/compile-macos-intel.yaml | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/compile-macos-intel.yaml diff --git a/.github/workflows/compile-macos-intel.yaml b/.github/workflows/compile-macos-intel.yaml new file mode 100644 index 00000000000..c87cbda085b --- /dev/null +++ b/.github/workflows/compile-macos-intel.yaml @@ -0,0 +1,28 @@ +name: MacOS(Intel) + +on: [pull_request] + +jobs: + compile-MacOS-Intel: + runs-on: macos-latest + steps: + - name: Setup MacOS + run: | + # create gfortran symlink + cd $(brew --prefix)/bin + gfortran=$(ls gfortran-* | sort | head -n 1) + sudo ln -s $gfortran gfortran + # install autotools + brew install autoconf + brew install automake + brew install libtool + # unlink libevent + brew unlink libevent || true + - uses: actions/checkout@v4 + with: + submodules: recursive + - name: Build Open MPI + run: | + ./autogen.pl + ./configure + make -j