Skip to content

Commit

Permalink
Update OS requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
nazar-pc committed Sep 26, 2024
1 parent 9175fde commit 2f0a60b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 14 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
strategy:
matrix:
build:
- os: ubuntu-22.04
- os: ubuntu-24.04
target: x86_64-unknown-linux-gnu
suffix: ubuntu-x86_64-skylake-${{ github.ref_name }}
modern-rustflags: "-C target-cpu=skylake"
rustflags: "-C target-cpu=x86-64-v2"
# TODO: Package for more Linux distributions/packaging formats/architectures and macOS
#- os: ubuntu-22.04
#- os: ubuntu-24.04
# target: aarch64-unknown-linux-gnu
# suffix: ubuntu-aarch64-${{ github.ref_name }}
# rustflags: "-C linker=aarch64-linux-gnu-gcc"
Expand Down Expand Up @@ -103,13 +103,17 @@ jobs:
run: brew install libtool
if: runner.os == 'macOS'

- name: CUDA toolchain
uses: Jimver/cuda-toolkit@9b295696791d75d658d8de64c4a85097ad8abeaf # v0.2.16
- name: CUDA toolchain (Windows)
uses: Jimver/cuda-toolkit@dc581bec6470cf161025608f13d71b3c00c2c0b7 # v0.2.17
with:
cuda: '12.4.1'
method: network
sub-packages: '["nvcc", "cudart"]'
if: runner.os == 'Linux' || runner.os == 'Windows'
if: runner.os == 'Windows'

- name: CUDA toolchain (Ubuntu)
run: sudo apt-get install -y --no-install-recommends nvidia-cuda-toolkit
if: runner.os == 'Linux'

- name: Install Protoc
uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0
Expand Down
16 changes: 10 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ env:

jobs:
cargo-fmt:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- name: Checkout
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
strategy:
matrix:
os:
- ubuntu-22.04
- ubuntu-24.04
- macos-14
- windows-2022

Expand Down Expand Up @@ -121,13 +121,17 @@ jobs:
run: brew install libtool
if: runner.os == 'macOS'

- name: CUDA toolchain
uses: Jimver/cuda-toolkit@9b295696791d75d658d8de64c4a85097ad8abeaf # v0.2.16
- name: CUDA toolchain (Windows)
uses: Jimver/cuda-toolkit@dc581bec6470cf161025608f13d71b3c00c2c0b7 # v0.2.17
with:
cuda: '12.4.1'
method: network
sub-packages: '["nvcc", "cudart"]'
if: runner.os == 'Linux' || runner.os == 'Windows'
if: runner.os == 'Windows'

- name: CUDA toolchain (Ubuntu)
run: sudo apt-get install -y --no-install-recommends nvidia-cuda-toolkit
if: runner.os == 'Linux'

- name: Install Protoc
uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0
Expand Down Expand Up @@ -168,7 +172,7 @@ jobs:
strategy:
matrix:
os:
- ubuntu-22.04
- ubuntu-24.04
- macos-14
- windows-2022

Expand Down
6 changes: 3 additions & 3 deletions docs/INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ this application may sometimes work fine and sometimes have a hard time syncing

For Windows go to [the latest release](https://github.com/autonomys/space-acres/releases/latest) and download attached
file with `.msi` extension. It is not digitally signed, so you'll have to agree to accept the risk when downloading and
installing it for now. Note that while things might work on other versions of Windows, **only Windows 10 and 11** with
latest updates supported.
installing it for now. Note that while things might work on other versions of Windows, **only Windows 11** with
latest updates is supported.

### Dependencies

Expand All @@ -72,7 +72,7 @@ Currently, there are two ways to get Space Acres on Linux:

### Ubuntu

For **Ubuntu 22.04 or newer** (older versions not supported) go
For **Ubuntu 24.04 or newer** (older versions not supported) go
to [the latest release](https://github.com/autonomys/space-acres/releases/latest) and download attached
file with `.deb` extension for your architecture (most likely `amd64`).

Expand Down

0 comments on commit 2f0a60b

Please sign in to comment.