diff --git a/.github/workflows/compilation.yml b/.github/workflows/compilation.yml index 5fd21049c..619f578f4 100644 --- a/.github/workflows/compilation.yml +++ b/.github/workflows/compilation.yml @@ -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] @@ -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