mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-08-03 14:50:53 +00:00
Improvements to Linux build
This commit is contained in:
parent
32f48e80a1
commit
beeeaf2cea
1 changed files with 5 additions and 2 deletions
7
.github/workflows/rust.yml
vendored
7
.github/workflows/rust.yml
vendored
|
@ -15,8 +15,6 @@ jobs:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: jlumbroso/free-disk-space@main
|
- uses: jlumbroso/free-disk-space@main
|
||||||
with:
|
|
||||||
tool-cache: true
|
|
||||||
- name: Install ROCm
|
- name: Install ROCm
|
||||||
run: |
|
run: |
|
||||||
sudo mkdir --parents --mode=0755 /etc/apt/keyrings
|
sudo mkdir --parents --mode=0755 /etc/apt/keyrings
|
||||||
|
@ -31,11 +29,16 @@ jobs:
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Build
|
- name: Build
|
||||||
|
# We use tar to unpack .tar.gz we've created because Github actions/upload-artifact
|
||||||
|
# is broken and will _always_ zip your artifact (even if it is a single file).
|
||||||
|
# See here: https://github.com/actions/upload-artifact/issues/39
|
||||||
|
# and here: https://github.com/actions/upload-artifact/issues/109
|
||||||
run: |
|
run: |
|
||||||
cargo xtask zip -r
|
cargo xtask zip -r
|
||||||
tar -xzf target/release/zluda.tar.gz -C target/release
|
tar -xzf target/release/zluda.tar.gz -C target/release
|
||||||
- name: Upload
|
- name: Upload
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
name: zluda-linux-${{ env.SHA }}
|
||||||
path: target/release/zluda
|
path: target/release/zluda
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue