Skip to content

[workflows/test] FreeBSD workflow gets stuck #57

Description

@github-actions

FreeBSD workflow gets stuck

Not sure if it has to do with the VM setup on GitHub Actions

or something related to the implementation of Grafito,

but we'll have to investigate this.

# TODO(workflows/test) FreeBSD workflow gets stuck

name: "CI"
on:
    push:
        branches:
        - master
    pull_request:
        types: [opened, synchronize]
    workflow_dispatch:

concurrency: 
    group: ${{ github.workflow }}-${{ github.ref }}
    cancel-in-progress: true

jobs:  
    build:
        name: "Test"
        runs-on: ${{ 
            (matrix.os == 'linux')   && (matrix.arch == 'arm64' && 'ubuntu-24.04-arm' || 'ubuntu-latest') ||
            (matrix.os == 'macos')   && (matrix.arch == 'arm64' && 'macos-latest' || 'macOS-15-intel') ||
            (matrix.os == 'windows') && 'windows-latest' || 
                                        'ubuntu-latest'  }}

        # TODO(workflows/test) FreeBSD workflow gets stuck
        #  Not sure if it has to do with the VM setup on GitHub Actions
        #  or something related to the implementation of Grafito, 
        #  but we'll have to investigate this.
        #  labels: workflows, bug
        strategy:
            fail-fast: false
            matrix:
                include: 
                    - {os: linux,   arch: amd64}
                    - {os: linux,   arch: arm64}
                    # - {os: freebsd, arch: amd64}
                    - {os: macos,   arch: amd64}
                    - {os: macos,   arch: arm64}
                    - {os: windows, arch: amd64}
                    
        defaults:
            run:
                shell: ${{ 
                    (matrix.os == 'freebsd') && 'freebsd {0}' ||
                    (matrix.os == 'windows') && 'msys2 {0}'   || 
                                                'bash'        }}

        steps:
            - name: "Checkout sources"
              uses: actions/checkout@v4
              with:
                submodules: recursive

            - name: Setup Arturo
              uses: arturo-lang/setup-arturo@v2
              with: 
                token: ${{ secrets.GITHUB_TOKEN }}
                os: ${{ matrix.os }}
                arch: ${{ matrix.arch }}

            - name: Run unit tests
              run: |
                cd $GITHUB_WORKSPACE
                arturo -e "inspect sys\deps"
                arturo tests/test1.art

5c9cf9c2424d14226e9940e9d30eba47d3fccf4c

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtodoworkflowsIssues & PRs related to GitHub CI actions

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions