Skip to content

Commit

Permalink
github: compilation.yml - Drop macos 12 build
Browse files Browse the repository at this point in the history
  • Loading branch information
mrannanj committed Jun 29, 2024
1 parent a14042d commit ef76b6f
Showing 1 changed file with 1 addition and 38 deletions.
39 changes: 1 addition & 38 deletions .github/workflows/compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,43 +133,6 @@ jobs:

# Build macos package, release artifact and update "latest" release if necessary.
# -----------------------------------------------------------------------------------------------
build_macos:
needs: [unittest, formatting-check]

name: Build macos-12
runs-on: macos-12

steps:
- uses: actions/checkout@v4

- name: Install Mac Dependencies
run: |
brew update
brew install cmake argtable cunit sdl2_mixer confuse enet sdl2 libxmp libpng
- name: Generate Release
run: |
mkdir build-release && cd build-release
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=release ..
make -j $(getconf _NPROCESSORS_ONLN)
make -j $(getconf _NPROCESSORS_ONLN) install
- name: Get short SHA
id: slug
run: echo "sha8=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_OUTPUT

- name: Generate ZIP package
run: |
cd build-release/release
zip -r ${GITHUB_WORKSPACE}/openomf_${{ env.OPENOMF_VERSION }}-${{ steps.slug.outputs.sha8 }}_macos12.zip .
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: openomf_${{ env.OPENOMF_VERSION }}-${{ steps.slug.outputs.sha8 }}_macos12
path: openomf_${{ env.OPENOMF_VERSION }}-${{ steps.slug.outputs.sha8 }}_macos12.zip
if-no-files-found: error

build_macos-arm:
needs: [unittest, formatting-check]

Expand Down Expand Up @@ -272,7 +235,7 @@ jobs:
# Create a "latest" release
# -----------------------------------------------------------------------------------------------
make_release:
needs: [build_windows, build_macos, build_macos-arm, build_ubuntu]
needs: [build_windows, build_macos-arm, build_ubuntu]
if: github.ref == 'refs/heads/master'

name: Make "latest" release
Expand Down

0 comments on commit ef76b6f

Please sign in to comment.