diff --git a/.github/workflows/ci-macos-bug.yml b/.github/workflows/ci-macos-bug.yml new file mode 100644 index 000000000..cf1fe7fe3 --- /dev/null +++ b/.github/workflows/ci-macos-bug.yml @@ -0,0 +1,59 @@ +name: CI macOS bug test + +on: + pull_request: + paths-ignore: + - 'doc/**' + - '**.md' + - '**.rst' + - '**.txt' + release: + types: [published] + workflow_dispatch: + +env: + ARCH: x86_64 + +jobs: + + build: + name: CI on macOS + + strategy: + fail-fast: false + matrix: + os: [macos-12, macos-14] + + runs-on: ${{ matrix.os }} + + steps: + - name: Check out repository + uses: actions/checkout@v2 + with: + submodules: true + + - name: Install FSF toolchain (x86_64) + if: ${{ matrix.os != 'macos-14' }} + uses: alire-project/alr-install@v1 + with: + crates: gnat_native gprbuild + + - name: Install FSF toolchain (AArch64) + if: ${{ matrix.os == 'macos-14' }} + run: | + curl -L -O https://github.com/alire-project/alire/releases/download/nightly/alr-nightly-bin-aarch64-macos.zip + unzip alr-nightly-bin-aarch64-macos.zip bin/alr + bin/alr index --reset-community + bin/alr install gnat_native gprbuild --prefix alire_prefix + echo $PWD/bin >> $GITHUB_PATH + echo $PWD/alire_prefix/bin >> $GITHUB_PATH + echo "ARCH=aarch64" >> $GITHUB_ENV + + - name: Install Python 3.x (required for the testsuite) + uses: actions/setup-python@v2 + with: + python-version: '3.x' + + - name: Build alr + run: gprbuild -j0 -p -Pdev/build.gpr + shell: bash diff --git a/.github/workflows/ci-appimage.yml b/.github/workflows/disabled/ci-appimage.yml similarity index 100% rename from .github/workflows/ci-appimage.yml rename to .github/workflows/disabled/ci-appimage.yml diff --git a/.github/workflows/ci-docker.yml b/.github/workflows/disabled/ci-docker.yml similarity index 100% rename from .github/workflows/ci-docker.yml rename to .github/workflows/disabled/ci-docker.yml diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/disabled/ci-linux.yml similarity index 100% rename from .github/workflows/ci-linux.yml rename to .github/workflows/disabled/ci-linux.yml diff --git a/.github/workflows/ci-toolchain.yml b/.github/workflows/disabled/ci-toolchain.yml similarity index 100% rename from .github/workflows/ci-toolchain.yml rename to .github/workflows/disabled/ci-toolchain.yml diff --git a/.github/workflows/ci-unsupported.yml b/.github/workflows/disabled/ci-unsupported.yml similarity index 100% rename from .github/workflows/ci-unsupported.yml rename to .github/workflows/disabled/ci-unsupported.yml diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/disabled/ci-windows.yml similarity index 100% rename from .github/workflows/ci-windows.yml rename to .github/workflows/disabled/ci-windows.yml diff --git a/.github/workflows/nightly.yml b/.github/workflows/disabled/nightly.yml similarity index 100% rename from .github/workflows/nightly.yml rename to .github/workflows/disabled/nightly.yml diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/disabled/spellcheck.yml similarity index 100% rename from .github/workflows/spellcheck.yml rename to .github/workflows/disabled/spellcheck.yml diff --git a/.github/workflows/tarball-full.yml b/.github/workflows/disabled/tarball-full.yml similarity index 100% rename from .github/workflows/tarball-full.yml rename to .github/workflows/disabled/tarball-full.yml