Skip to content

Commit

Permalink
Revert "test: macos-11, instead of macos-latest = macos-12"
Browse files Browse the repository at this point in the history
This reverts commit 831c90c.
  • Loading branch information
c-dilks committed Jan 10, 2024
1 parent 831c90c commit 80e4844
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
cmake --build build -j2
cmake --install build
- run: brew install tree
if: ${{ inputs.runner == 'macos-11' }}
if: ${{ inputs.runner == 'macos-latest' }}
- run: tree hipo
- name: tar
run: tar czvf hipo{.tar.gz,}
Expand All @@ -62,7 +62,7 @@ jobs:
cmake --build build -j2
cmake --install build
- run: brew install tree
if: ${{ inputs.runner == 'macos-11' }}
if: ${{ inputs.runner == 'macos-latest' }}
- run: tree fmt
- name: tar
run: tar czvf fmt{.tar.gz,}
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
- name: untar build
run: ls *.tar.gz | xargs -I{} tar xzvf {}
- run: brew install tree
if: ${{ inputs.runner == 'macos-11' }}
if: ${{ inputs.runner == 'macos-latest' }}
- run: tree
- name: configure
run: ./configure.py --hipo hipo --fmt fmt --examples --no-documentation ${{ matrix.configure_opts }}
Expand All @@ -129,7 +129,7 @@ jobs:
libraries=$(find iguana -type f -name "*.so")
for obj in $binaries $libraries; do
echo "[+++] READ $obj"
if [ ${{ inputs.runner }} = "macos-11" ]; then
if [ ${{ inputs.runner }} = "macos-latest" ]; then
otool -l $obj
else
readelf -d $obj
Expand Down Expand Up @@ -214,7 +214,7 @@ jobs:
ls *.tar.gz | xargs -I{} tar xzvf {}
rm -v *.tar.gz
- run: brew install tree
if: ${{ inputs.runner == 'macos-11' }}
if: ${{ inputs.runner == 'macos-latest' }}
- name: tree artifacts
run: tree
- name: source environment
Expand All @@ -225,8 +225,10 @@ jobs:
echo PYTHONPATH=$PYTHONPATH >> $GITHUB_ENV
echo DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH >> $GITHUB_ENV
- name: test 00
if: ${{ inputs.runner != 'macos-latest' || matrix.binding != 'python' }} # FIXME: https://github.com/JeffersonLab/iguana/issues/75
run: iguana/bin/iguana-example-00-basic${{ matrix.extension }} test_data.hipo ${{ env.num_events }}
- name: test 01
if: ${{ inputs.runner != 'macos-latest' || matrix.binding != 'python' }} # FIXME: https://github.com/JeffersonLab/iguana/issues/75
run: iguana/bin/iguana-example-01-bank-rows${{ matrix.extension }} test_data.hipo ${{ env.num_events }}

test_consumer_builds:
Expand Down Expand Up @@ -269,7 +271,7 @@ jobs:
.github/test-consumer-build.sh ${{ matrix.tool }}
- name: readelf/otool executable
run: |
if [ ${{ inputs.runner }} = "macos-11" ]; then
if [ ${{ inputs.runner }} = "macos-latest" ]; then
otool -l install-consumer/bin/iguana-example-00-basic
else
readelf -d install-consumer/bin/iguana-example-00-basic
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jobs:
macOS:
uses: ./.github/workflows/ci.yml
with:
runner: macos-11
runner: macos-latest

0 comments on commit 80e4844

Please sign in to comment.