Skip to content

change ubuntu version #3

change ubuntu version

change ubuntu version #3

Workflow file for this run

name: Build and Run
on:
push:
branches: [ carlos-ci ]
pull_request:
branches: [ carlos-ci ]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Find available GPUs
run: lspci | grep -i vga
- name: Install openCL
run: sudo apt install ocl-icd-opencl-dev
- name: Check installation
run: dpkg -L ocl-icd-opencl-dev
- name: Build with Maven
run: mvn clean install
- name: Run Java class
run: java -cp target/classes com.example.YourMainClass