Skip to content

Commit

Permalink
Ubuntu 20.04 opencl autobuild
Browse files Browse the repository at this point in the history
  • Loading branch information
tontechio committed Sep 29, 2021
1 parent 31be6e4 commit 457c05e
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/pow-miner-opencl-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ on:

jobs:
create-release:
runs-on: ubuntu-18.04
strategy:
matrix:
os:
- ubuntu-18.04
- ubuntu-20.04

runs-on: ${{ matrix.os }}

steps:
- name: Check out repository
Expand All @@ -16,7 +22,10 @@ jobs:
submodules: 'recursive'

- name: Install OPENCL
run: sudo apt install -y opencl-headers ocl-icd-opencl-dev
run: |
sudo apt update -y && \
sudo apt upgrade -y && \
sudo apt install -y opencl-headers ocl-icd-opencl-dev
- name: mkdir
run: |
Expand All @@ -32,11 +41,12 @@ jobs:
- name: naming convention
run: |
mv build/crypto/pow-miner-opencl build/crypto/pow-miner-opencl-ubuntu-18.04-x86-64
chmod +x build/crypto/pow-miner-opencl
tar -zcf build/crypto/pow-miner-opencl-${{ matrix.os }}-x86-64.tar.gz build/crypto/pow-miner-opencl
- name: packing
uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: "build/crypto/pow-miner-opencl-ubuntu-18.04-x86-64"
artifacts: build/crypto/pow-miner-opencl-${{ matrix.os }}-x86-64.tar.gz
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 457c05e

Please sign in to comment.