Skip to content

Commit

Permalink
build 18.04 too
Browse files Browse the repository at this point in the history
  • Loading branch information
aerth committed Feb 4, 2023
1 parent 3bc4a2b commit 03892c9
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/ubuntu-18.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CMake

on:
push:
branches: [ linux ]
pull_request:
branches: [ linux ]

env:
BUILD_TYPE: Release

jobs:
build:
runs-on: ubuntu-18.04

steps:
- uses: actions/checkout@v2

- uses: Jimver/[email protected]
id: cuda-toolkit
with:
cuda: '11.5.1'

- name: Update submodules
run: git submodule update --init

- name: Install libcurl
run: sudo apt install -y libcurl4-openssl-dev

- name: Configure CMake GPU
run: cmake -B ${{github.workspace}}/build-gpu -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DWITH_GPU=ON

- name: Build GPU
run: cmake --build ${{github.workspace}}/build-gpu --config ${{env.BUILD_TYPE}}
- name: Package
run: cd ${{github.workspace}}/build-gpu && tar czf aquaminer-gpu-18.04.tar.gz aquaminer-gpu
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest-ubuntu-18.04"
prerelease: true
title: "Development Build 18.04"
files: |
${{github.workspace}}/build-gpu/aquaminer-gpu-18.04.tar.gz

0 comments on commit 03892c9

Please sign in to comment.