add -Wno-dynamic-exception-spec #618
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build-linux-cross | |
| on: | |
| push: | |
| paths-ignore: | |
| - '**/README.md' | |
| pull_request: | |
| paths-ignore: | |
| - '**/README.md' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| env: | |
| TARGET: "linux" | |
| NO_FORCE: 1 | |
| GA_CI_SECRET: ${{ secrets.CI_SECRET }} | |
| USE_ARTIFACT: false | |
| DISABLE_WORKFLOW: "false" | |
| jobs: | |
| pre-check: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| workflow_disabled: ${{ steps.check-disabled.outputs.disabled }} | |
| steps: | |
| - name: Check if Workflow is disabled | |
| id: check-disabled | |
| shell: bash | |
| run: | | |
| if [ "${{ env.DISABLE_WORKFLOW }}" == "true" ]; then | |
| echo "disabled=true" >> $GITHUB_ENV | |
| echo "::set-output name=disabled::true" | |
| else | |
| echo "::set-output name=disabled::false" | |
| fi | |
| build-linux-aarch64: | |
| if: needs.pre-check.outputs.workflow_disabled != 'true' | |
| needs: pre-check | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| cfg: | |
| - {target: linux, arch: arm64, gcc: gcc14} | |
| # - {target: linux, arch: jetson, gcc: gcc14} | |
| env: | |
| TARGET: ${{matrix.cfg.target}} | |
| GCC: ${{matrix.cfg.gcc}} | |
| ARCH: ${{matrix.cfg.arch}} | |
| steps: | |
| - uses: actions/checkout@v4.2.2 | |
| - name: Check if Workflow is disabled | |
| run: | | |
| if [ "${{ env.DISABLE_WORKFLOW }}" == "true" ]; then | |
| echo "Workflow is disabled. Exiting." | |
| exit 78 | |
| fi | |
| - name: Determine Release | |
| id: vars | |
| shell: bash | |
| run: | | |
| if [[ "${{ github.ref }}" == refs/tags/* ]]; then | |
| echo "RELEASE=${{ github.ref_name }}" >> $GITHUB_ENV | |
| elif [[ "${{ github.ref }}" == "refs/heads/master" ]]; then | |
| echo "RELEASE=nightly" >> $GITHUB_ENV | |
| elif [[ "${{ github.ref }}" == "refs/heads/bleeding" ]]; then | |
| echo "RELEASE=latest" >> $GITHUB_ENV | |
| else | |
| echo "RELEASE=latest" >> $GITHUB_ENV | |
| fi | |
| - name: Scripts Calc Formula - ${{matrix.cfg.target}} - ${{matrix.cfg.gcc}} | |
| run: ./scripts/calculate_formulas.sh | |
| - name: Scripts Setup | |
| run: sudo ./scripts/${{ env.TARGET }}/${{ env.ARCH }}/setup.sh | |
| - name: BuildLinux64 | |
| working-directory: ${{env.GITHUB_WORKSPACE}} | |
| run: scripts/build.sh | |
| env: | |
| BUNDLE: ${{ matrix.bundle }} | |
| - name: Package | |
| if: (github.repository == 'openframeworks/apothecary' && github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/bleeding')) | |
| working-directory: ${{ env.GITHUB_WORKSPACE }} | |
| run: scripts/package.sh | |
| env: | |
| BUNDLE: ${{ matrix.bundle }} | |
| - name: List output directory | |
| run: ls -lah out/ | |
| - name: Update Release 64 | |
| if: github.repository == 'openframeworks/apothecary' && github.event_name == 'push' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/bleeding') | |
| uses: softprops/action-gh-release@v2.1.0 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| tag_name: ${{ env.RELEASE }} | |
| draft: false | |
| files: out/openFrameworksLibs_${{ env.RELEASE }}_${{ env.TARGET }}_${{ env.ARCH }}_${{ env.GCC }}.tar.bz2 |