Skip to content

Commit

Permalink
arm and intel macos build
Browse files Browse the repository at this point in the history
  • Loading branch information
cbuahin authored Oct 21, 2024
1 parent 3efab07 commit e6a3342
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ jobs:
- os: macos-13
cmake_generator: -G "Xcode"
continue-on-error: false
alias: intel-mac
- os: macos-14
cmake_generator: -G "Xcode"
continue-on-error: false
alias: apple-silicon
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.continue-on-error }}

Expand All @@ -46,10 +48,10 @@ jobs:
if: matrix.os == 'macos-13' || matrix.os == 'macos-14'
run: |
cd SRC_engines/build
for file in *.zip; do mv "$file" "${file%.zip}-${{ matrix.os }}.zip"; done
for file in *.tar.gz; do mv "$file" "${file%.tar.gz}-${{ matrix.os }}.tar.gz"; done
for file in *.zip; do mv "$file" "${file%.zip}-${{ matrix.alias }}.zip"; done
for file in *.tar.gz; do mv "$file" "${file%.tar.gz}-${{ matrix.alias }}.tar.gz"; done
cd ../..
- name: Upload artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit e6a3342

Please sign in to comment.