Skip to content

Commit

Permalink
Test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mosteo committed Sep 27, 2024
1 parent fbaa3da commit 27e3106
Show file tree
Hide file tree
Showing 11 changed files with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions .github/workflows/ci-macos-bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
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: dev/build.sh
shell: bash

- name: Run bug trigger 1
shell: bash
run: ./bin/alr -d search make

- name: Run bug trigger 2
shell: bash
run: ./bin/alr -d search json
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 27e3106

Please sign in to comment.