1
0
Fork 0
mirror of https://github.com/TransparentLC/opencl_vanity_gpg.git synced 2025-10-20 15:24:08 +00:00

ci: test ocl

This commit is contained in:
GZTime 2025-01-09 01:44:29 +08:00
parent d01cd52a46
commit 5f40ce4e74
No known key found for this signature in database
GPG key ID: 373640C748EA3E19

View file

@ -5,6 +5,7 @@ on:
push: push:
branches: branches:
- master - master
pull_request:
jobs: jobs:
build: build:
@ -14,12 +15,12 @@ jobs:
os: os:
- windows-latest - windows-latest
- ubuntu-latest - ubuntu-latest
# - macos-latest - macos-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable - uses: dtolnay/rust-toolchain@stable
with: with:
toolchain: nightly toolchain: stable
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
- name: Prepare OpenCL SDK - name: Prepare OpenCL SDK
shell: bash shell: bash
@ -35,10 +36,6 @@ jobs:
if [[ "$RUNNER_OS" == "Linux" ]]; then if [[ "$RUNNER_OS" == "Linux" ]]; then
sudo apt install opencl-headers ocl-icd-opencl-dev sudo apt install opencl-headers ocl-icd-opencl-dev
fi fi
# FIXME
# if [[ "$RUNNER_OS" == "macOS" ]]; then
#
# fi
- name: Build - name: Build
id: build id: build
shell: bash shell: bash