mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-12 21:06:23 +02:00
Rename and reorganise builds
This commit is contained in:
parent
fd6f7cd937
commit
5f3da4af68
1 changed files with 52 additions and 51 deletions
103
.github/workflows/ci.yml
vendored
103
.github/workflows/ci.yml
vendored
|
@ -72,25 +72,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
direnv exec . engage
|
direnv exec . engage
|
||||||
|
|
||||||
- name: Build static targets
|
- name: Build x86_64 static with hmalloc
|
||||||
run: >
|
|
||||||
bin/nix-build-and-cache
|
|
||||||
.#static-x86_64-unknown-linux-musl
|
|
||||||
.#static-x86_64-unknown-linux-musl-jemalloc
|
|
||||||
.#static-aarch64-unknown-linux-musl
|
|
||||||
.#static-aarch64-unknown-linux-musl-jemalloc
|
|
||||||
|
|
||||||
- name: Organise and prepare static outputs
|
|
||||||
run: |
|
run: |
|
||||||
mkdir -p target/release target/debian
|
bin/nix-build-and-cache -A static-x86_64-unknown-linux-musl --out-link target/release/static-x86_64-unknown-linux-musl
|
||||||
sudo mv result/bin/conduit target/release/static-x86_64-unknown-linux-musl
|
|
||||||
direnv exec . cargo deb --no-build --no-strip --output target/debian/x86_64-unknown-linux-musl.deb
|
direnv exec . cargo deb --no-build --no-strip --output target/debian/x86_64-unknown-linux-musl.deb
|
||||||
sudo mv result-1/bin/conduit target/release/static-x86_64-unknown-linux-musl-jemalloc
|
|
||||||
direnv exec . cargo deb --no-build --no-strip --output target/debian/x86_64-unknown-linux-musl-jemalloc.deb
|
|
||||||
sudo mv result-2/bin/conduit target/release/static-aarch64-unknown-linux-musl
|
|
||||||
direnv exec . cargo deb --no-build --no-strip --output target/debian/aarch64-unknown-linux-musl.deb
|
|
||||||
sudo mv result-3/bin/conduit target/release/static-aarch64-unknown-linux-musl-jemalloc
|
|
||||||
direnv exec . cargo deb --no-build --no-strip --output target/debian/aarch64-unknown-linux-musl-jemalloc.deb
|
|
||||||
|
|
||||||
- name: Upload static-x86_64-unknown-linux-musl
|
- name: Upload static-x86_64-unknown-linux-musl
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
@ -99,27 +84,6 @@ jobs:
|
||||||
path: target/release/static-x86_64-unknown-linux-musl
|
path: target/release/static-x86_64-unknown-linux-musl
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Upload static-x86_64-unknown-linux-musl-jemalloc
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: static-x86_64-unknown-linux-musl-jemalloc
|
|
||||||
path: target/release/static-x86_64-unknown-linux-musl-jemalloc
|
|
||||||
if-no-files-found: error
|
|
||||||
|
|
||||||
- name: Upload static-aarch64-unknown-linux-musl
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: static-aarch64-unknown-linux-musl
|
|
||||||
path: target/release/static-aarch64-unknown-linux-musl
|
|
||||||
if-no-files-found: error
|
|
||||||
|
|
||||||
- name: Upload static-aarch64-unknown-linux-musl-jemalloc
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: static-aarch64-unknown-linux-musl-jemalloc
|
|
||||||
path: target/release/static-aarch64-unknown-linux-musl-jemalloc
|
|
||||||
if-no-files-found: error
|
|
||||||
|
|
||||||
- name: Upload deb x86_64-unknown-linux-musl
|
- name: Upload deb x86_64-unknown-linux-musl
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
@ -127,6 +91,18 @@ jobs:
|
||||||
path: target/debian/x86_64-unknown-linux-musl.deb
|
path: target/debian/x86_64-unknown-linux-musl.deb
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
|
- name: Build x86_64 static with jemalloc
|
||||||
|
run: |
|
||||||
|
bin/nix-build-and-cache -A static-x86_64-unknown-linux-musl-jemalloc --out-link target/release/static-x86_64-unknown-linux-musl-jemalloc
|
||||||
|
direnv exec . cargo deb --no-build --no-strip --output target/debian/x86_64-unknown-linux-musl-jemalloc.deb
|
||||||
|
|
||||||
|
- name: Upload static-x86_64-unknown-linux-musl-jemalloc
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: static-x86_64-unknown-linux-musl-jemalloc
|
||||||
|
path: target/release/static-x86_64-unknown-linux-musl-jemalloc
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Upload deb x86_64-unknown-linux-musl-jemalloc
|
- name: Upload deb x86_64-unknown-linux-musl-jemalloc
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
@ -134,6 +110,26 @@ jobs:
|
||||||
path: target/debian/x86_64-unknown-linux-musl-jemalloc.deb
|
path: target/debian/x86_64-unknown-linux-musl-jemalloc.deb
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
|
- name: Build x86_64 OCI with hmalloc
|
||||||
|
run: |
|
||||||
|
bin/nix-build-and-cache -A oci-image-x86_64-unknown-linux-musl --out-link oci-image-x86_64-unknown-linux-musl.tar.gz
|
||||||
|
|
||||||
|
- name: Build x86_64 OCI with jemalloc
|
||||||
|
run: |
|
||||||
|
bin/nix-build-and-cache -A oci-image-x86_64-unknown-linux-musl-jemalloc --out-link oci-image-x86_64-unknown-linux-musl-jemalloc.tar.gz
|
||||||
|
|
||||||
|
- name: Build aarch64 static with hmalloc
|
||||||
|
run: |
|
||||||
|
bin/nix-build-and-cache -A static-aarch64-unknown-linux-musl --out-link target/release/static-aarch64-unknown-linux-musl
|
||||||
|
direnv exec . cargo deb --no-build --no-strip --output target/debian/aarch64-unknown-linux-musl.deb
|
||||||
|
|
||||||
|
- name: Upload static-aarch64-unknown-linux-musl
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: static-aarch64-unknown-linux-musl
|
||||||
|
path: target/release/static-aarch64-unknown-linux-musl
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Upload deb aarch64-unknown-linux-musl
|
- name: Upload deb aarch64-unknown-linux-musl
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
@ -141,6 +137,18 @@ jobs:
|
||||||
path: target/debian/aarch64-unknown-linux-musl.deb
|
path: target/debian/aarch64-unknown-linux-musl.deb
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
|
- name: Build aarch64 static with jemalloc
|
||||||
|
run: |
|
||||||
|
bin/nix-build-and-cache -A static-aarch64-unknown-linux-musl-jemalloc --out-link target/release/static-aarch64-unknown-linux-musl-jemalloc
|
||||||
|
direnv exec . cargo deb --no-build --no-strip --output target/debian/aarch64-unknown-linux-musl-jemalloc.deb
|
||||||
|
|
||||||
|
- name: Upload static-aarch64-unknown-linux-musl-jemalloc
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: static-aarch64-unknown-linux-musl-jemalloc
|
||||||
|
path: target/release/static-aarch64-unknown-linux-musl-jemalloc
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Upload deb aarch64-unknown-linux-musl-jemalloc
|
- name: Upload deb aarch64-unknown-linux-musl-jemalloc
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
@ -148,20 +156,13 @@ jobs:
|
||||||
path: target/debian/aarch64-unknown-linux-musl-jemalloc.deb
|
path: target/debian/aarch64-unknown-linux-musl-jemalloc.deb
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Build OCI image targets
|
- name: Build aarch64 OCI with hmalloc
|
||||||
run: >
|
|
||||||
bin/nix-build-and-cache
|
|
||||||
.#oci-image-x86_64-unknown-linux-musl
|
|
||||||
.#oci-image-x86_64-unknown-linux-musl-jemalloc
|
|
||||||
.#oci-image-aarch64-unknown-linux-musl
|
|
||||||
.#oci-image-aarch64-unknown-linux-musl-jemalloc
|
|
||||||
|
|
||||||
- name: Organise OCI image outputs
|
|
||||||
run: |
|
run: |
|
||||||
mv result oci-image-x86_64-unknown-linux-musl.tar.gz
|
bin/nix-build-and-cache -A oci-image-aarch64-unknown-linux-musl --out-link oci-image-aarch64-unknown-linux-musl.tar.gz
|
||||||
mv result-1 oci-image-x86_64-unknown-linux-musl-jemalloc.tar.gz
|
|
||||||
mv result-2 oci-image-aarch64-unknown-linux-musl.tar.gz
|
- name: Build aarch64 OCI with jemalloc
|
||||||
mv result-3 oci-image-aarch64-unknown-linux-musl-jemalloc.tar.gz
|
run: |
|
||||||
|
bin/nix-build-and-cache -A oci-image-aarch64-unknown-linux-musl-jemalloc --out-link oci-image-aarch64-unknown-linux-musl-jemalloc.tar.gz
|
||||||
|
|
||||||
- name: Upload OCI image x86_64-unknown-linux-musl
|
- name: Upload OCI image x86_64-unknown-linux-musl
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|
Loading…
Add table
Reference in a new issue