Skip to content

Test PoCL Installation #2

Test PoCL Installation

Test PoCL Installation #2

Workflow file for this run

name: Test PoCL Installation
on:
workflow_dispatch:
jobs:
test-pocl:
strategy:
matrix:
os: [macos-13, macos-14]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install PoCL 6.0.1
run: |
echo "Installing PoCL 6.0.1..."
pocl_commit="165dae39781a8150f265d2fae6ea036964dbaad8"
pocl_rb_link="https://raw.githubusercontent.com/Homebrew/homebrew-core/$pocl_commit/Formula/p/pocl.rb"
mkdir -p /tmp/pocl
curl -fsSL "$pocl_rb_link" -o /tmp/pocl/pocl.rb
brew install /tmp/pocl/pocl.rb
- name: Verify PoCL Installation
run: |
echo "PATH=$PATH"
poclcc --version || echo "PoCL compiler not found"
brew info pocl