feat: illumos x86_64 target (#258)
- x86_64-unknown-illumos
Diff
.github/workflows/devel.yml | 11 ++++++++---
.github/workflows/release.yml | 5 +++++
docs/content/download-and-install.tmpl.md | 2 ++
docs/content/migration.md | 4 ++--
docs/content/platforms-architectures.md | 5 +++++
5 files changed, 22 insertions(+), 5 deletions(-)
@@ -49,6 +49,7 @@ jobs:
- linux-android-arm64
- netbsd
- illumos
- macos
- macos-arm64
- windows-msvc
@@ -117,6 +118,10 @@ jobs:
os: ubuntu-22.04
rust: stable
target: x86_64-unknown-netbsd
- build: illumos
os: ubuntu-22.04
rust: stable
target: x86_64-unknown-illumos
- build: macos
os: macos-12
rust: stable
@@ -182,7 +187,7 @@ jobs:
- name: Skip tests
shell: bash
if: ${{ contains(fromJSON('["macos-arm64", "linux-android-arm64", "linux-android-armv7", "netbsd"]'), matrix.build) }}
if: ${{ contains(fromJSON('["macos-arm64", "linux-android-arm64", "linux-android-armv7", "netbsd", "illumos"]'), matrix.build) }}
run: |
echo "SKIP_TESTS=--no-run" >> $GITHUB_ENV
@@ -201,8 +206,8 @@ jobs:
shell: bash
run: |
case "${{ matrix.build }}" in
*-arm*|*bsd*)
echo "arm(64) or BSD are unable to execute on CI!"
*-arm*|*bsd*|*illumos*)
echo "arm(64)s or BSDs are unable to execute on CI for now!"
;;
*)
if [[ "${{ matrix.os }}" == "windows-2022" ]]; then
@@ -61,6 +61,7 @@ jobs:
- linux-android-arm64
- netbsd
- illumos
- macos
- macos-arm64
- windows-msvc
@@ -116,6 +117,10 @@ jobs:
os: ubuntu-22.04
rust: stable
target: x86_64-unknown-netbsd
- build: illumos
os: ubuntu-22.04
rust: stable
target: x86_64-unknown-illumos
- build: macos
os: macos-12
rust: stable
@@ -90,6 +90,8 @@ Pre-compiled binaries grouped by CPU architectures.
<small>**SHA256SUM:** `{{x86_64-unknown-linux-musl.tar.gz}}`</small>
- [static-web-server-{{RELEASE_VERSION}}-x86_64-unknown-netbsd.tar.gz](https://github.com/static-web-server/static-web-server/releases/download/{{RELEASE_VERSION}}/static-web-server-{{RELEASE_VERSION}}-x86_64-unknown-netbsd.tar.gz)<br>
<small>**SHA256SUM:** `{{x86_64-unknown-netbsd.tar.gz}}`</small>
- [static-web-server-{{RELEASE_VERSION}}-x86_64-unknown-illumos.tar.gz](https://github.com/static-web-server/static-web-server/releases/download/{{RELEASE_VERSION}}/static-web-server-{{RELEASE_VERSION}}-x86_64-unknown-illumos.tar.gz)<br>
<small>**SHA256SUM:** `{{x86_64-unknown-illumos.tar.gz}}`</small>
### ARM64
@@ -1,6 +1,6 @@
# Migrating from v1 to v2
The `v2` introduces notable changes including new features, performance improvements and new target support like ARM64 and OSes like FreeBSD, NetBSD or Android.
The `v2` introduces notable changes including new features, performance improvements and new target support like ARM64 and OSes like FreeBSD, NetBSD, Illumos or Android.
This version `v2` was re-written almost from scratch on top of [Hyper](https://github.com/hyperium/hyper) and [Tokio](https://github.com/tokio-rs/tokio) runtime which gives us the [Rust asynchronous ability](https://rust-lang.github.io/async-book/01_getting_started/02_why_async.html) by default and the latest HTTP/1 - HTTP/2 implementation improvements.
However, it still tries to keep the same principles of its `v1`: lightness and easy-to-use. Therefore migration should not be a big deal.
@@ -12,7 +12,7 @@ This major `v2` has a few breaking changes. However, migration should not repres
!!! tip "Tip"
It is always worth recommending that you test a major server version upgrade like this first with your application(s) in a development environment or similar.
Please have in mind the following changes in `v2`:
Please keep in mind the following changes in `v2`:
- The server now supports only a root directory path (via `--root` or its equivalent env) so an assets path option is no longer required.
- Cache-control headers are arbitrarily applied to assets. See [control headers examples](./features/cache-control-headers.md) for more details.
@@ -57,3 +57,8 @@ Currently, only the following platforms/architectures are supported.
#### x86_64
- `x86_64-unknown-netbsd`
## Illumos
#### x86_64
- `x86_64-unknown-illumos`