Skip to content

Commit

Permalink
arch-specific archives & docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro-Salerno committed Nov 8, 2024
1 parent 2444465 commit 3cda3bc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
- uses: actions/checkout@v4
- name: configure
run: sh ./.github/workflows/configure.sh
- name: Build binaries for Linux
- name: Build binaries for target linux-x86_64
run: make release
- name: Archive Linux binaries
run: sh ./.github/workflows/make-archives.sh linux
- name: Build binaries for macOS
- name: Archive binaries for target linux-x86_64
run: sh ./.github/workflows/make-archives.sh linux-x86_64
- name: Build binaries for target macos-arm64
run: make clean && make release CC="zig cc -target aarch64-macos" TARMAN_OS=darwin RELEASE_LDFLAGS=""
- name: Archive macOS binaries
run: sh ./.github/workflows/make-archives.sh macos
- name: Archive binaries for target macos-arm64
run: sh ./.github/workflows/make-archives.sh macos-arm64
- name: Upload all
run: sh ./.github/workflows/upload.sh
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ Tarman solves this by automating the steps you would have to follow to install a
## How to install tarman
You can install tarman... with tarman...

On Linux:
On Linux (x86-64):
```sh
curl -L "https://github.com/Alessandro-Salerno/tarman/raw/refs/heads/latest-build/linux/tarman" -o ./tarman && chmod +x ./tarman && ./tarman add-repo "https://github.com/Alessandro-Salerno/tarman-user-repository/raw/refs/heads/latest-repos/linux.tar.gz" && ./tarman install -r tarman && rm ./tarman
curl -L "https://github.com/Alessandro-Salerno/tarman/raw/refs/heads/latest-build/linux-x86_64/tarman" -o ./tarman && chmod +x ./tarman && ./tarman add-repo "https://github.com/Alessandro-Salerno/tarman-user-repository/raw/refs/heads/latest-repos/linux-x86_64.tar.gz" && ./tarman install -r tarman && rm ./tarman
```

On macOS:
On macOS (Apple Silicon - ARM64 - AARCH64):
```sh
curl -L "https://github.com/Alessandro-Salerno/tarman/raw/refs/heads/latest-build/macos/tarman" -o ./tarman && chmod +x ./tarman && ./tarman add-repo "https://github.com/Alessandro-Salerno/tarman-user-repository/raw/refs/heads/latest-repos/macos.tar.gz" && ./tarman install -r tarman && rm ./tarman
curl -L "https://github.com/Alessandro-Salerno/tarman/raw/refs/heads/latest-build/macos-arm64/tarman" -o ./tarman && chmod +x ./tarman && ./tarman add-repo "https://github.com/Alessandro-Salerno/tarman-user-repository/raw/refs/heads/latest-repos/macos-arm64.tar.gz" && ./tarman install -r tarman && rm ./tarman
```

> [!IMPORTANT]
Expand Down

0 comments on commit 3cda3bc

Please sign in to comment.