This repository has been archived by the owner on Jan 28, 2024. It is now read-only.
Merge pull request #18 from opencl-go/add-archival-status #38
This file contains 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: Test | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
test: | |
name: test | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: 1.18 | |
- uses: actions/checkout@v3 | |
- name: Install libraries | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y opencl-headers ocl-icd-opencl-dev | |
- name: Run tests | |
run: go test -race ./... |