mirror of
https://github.com/static-web-server/static-web-server.git
synced 2026-01-25 05:06:33 +00:00
18
.github/workflows/devel.yml
vendored
18
.github/workflows/devel.yml
vendored
@@ -56,8 +56,8 @@ jobs:
|
||||
- macos-arm64
|
||||
- windows-msvc
|
||||
- windows-msvc-i686
|
||||
- windows-msvc-arm64
|
||||
- windows-pc-gnu
|
||||
# - windows-msvc-arm64
|
||||
include:
|
||||
# Specific Rust channels
|
||||
- build: pinned
|
||||
@@ -148,13 +148,13 @@ jobs:
|
||||
os: windows-2022
|
||||
rust: stable
|
||||
target: i686-pc-windows-msvc
|
||||
- build: windows-msvc-arm64
|
||||
os: windows-2022
|
||||
rust: stable
|
||||
target: aarch64-pc-windows-msvc
|
||||
- build: windows-pc-gnu
|
||||
os: windows-2022
|
||||
rust: stable-x86_64-gnu
|
||||
# - build: windows-msvc-arm64
|
||||
# os: windows-2022
|
||||
# rust: stable
|
||||
# target: aarch64-pc-windows-msvc
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
@@ -195,9 +195,15 @@ jobs:
|
||||
echo "target flag is: ${{ env.TARGET_FLAGS }}"
|
||||
echo "target dir is: ${{ env.TARGET_DIR }}"
|
||||
|
||||
- name: Setup Windows ARM64
|
||||
if: ${{ contains(matrix.build, 'windows-msvc-arm64') }}
|
||||
run: |
|
||||
# ring crate: add Visual Studio Build Tools "VS 2022 C++ ARM64 build tools" and "clang" components
|
||||
$env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Tools\Llvm\x64\bin"
|
||||
|
||||
- name: Skip tests
|
||||
shell: bash
|
||||
if: ${{ contains(fromJSON('["macos-arm64", "linux-android-arm64", "linux-android-armv7", "netbsd", "illumos"]'), matrix.build) }}
|
||||
if: ${{ contains(fromJSON('["macos-arm64", "linux-android-arm64", "linux-android-armv7", "netbsd", "illumos", "windows-msvc-arm64"]'), matrix.build) }}
|
||||
run: |
|
||||
# Can't run tests: cross-compiling
|
||||
echo "SKIP_TESTS=--no-run" >> $GITHUB_ENV
|
||||
|
||||
16
.github/workflows/release.yml
vendored
16
.github/workflows/release.yml
vendored
@@ -68,8 +68,8 @@ jobs:
|
||||
- macos-arm64
|
||||
- windows-msvc
|
||||
- windows-msvc-i686
|
||||
- windows-msvc-arm64
|
||||
- windows-pc-gnu
|
||||
# - windows-msvc-arm64
|
||||
include:
|
||||
- build: linux-musl
|
||||
os: ubuntu-22.04
|
||||
@@ -147,14 +147,14 @@ jobs:
|
||||
os: windows-2022
|
||||
rust: stable
|
||||
target: i686-pc-windows-msvc
|
||||
- build: windows-msvc-arm64
|
||||
os: windows-2022
|
||||
rust: stable
|
||||
target: aarch64-pc-windows-msvc
|
||||
- build: windows-pc-gnu
|
||||
os: windows-2022
|
||||
rust: stable-x86_64-gnu
|
||||
target: x86_64-pc-windows-gnu
|
||||
# - build: windows-msvc-arm64
|
||||
# os: windows-2022
|
||||
# rust: stable
|
||||
# target: aarch64-pc-windows-msvc
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
@@ -187,6 +187,12 @@ jobs:
|
||||
echo "TARGET_FLAGS=--target=${{ matrix.target }}" >> $GITHUB_ENV
|
||||
echo "TARGET_DIR=./target/${{ matrix.target }}" >> $GITHUB_ENV
|
||||
|
||||
- name: Setup Windows ARM64
|
||||
if: ${{ contains(matrix.build, 'windows-msvc-arm64') }}
|
||||
run: |
|
||||
# ring crate: add Visual Studio Build Tools "VS 2022 C++ ARM64 build tools" and "clang" components
|
||||
$env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Tools\Llvm\x64\bin"
|
||||
|
||||
- name: Show command used for Cargo
|
||||
run: |
|
||||
echo "cargo command is: ${{ env.CARGO_BIN }}"
|
||||
|
||||
@@ -115,6 +115,8 @@ Pre-compiled binaries grouped by CPU architectures.
|
||||
<small>**SHA256SUM:** `{{aarch64-apple-darwin.tar.gz}}`</small>
|
||||
- [static-web-server-{{RELEASE_VERSION}}-aarch64-linux-android.tar.gz](https://github.com/static-web-server/static-web-server/releases/download/{{RELEASE_VERSION}}/static-web-server-{{RELEASE_VERSION}}-aarch64-linux-android.tar.gz)<br>
|
||||
<small>**SHA256SUM:** `{{aarch64-linux-android.tar.gz}}`</small>
|
||||
- [static-web-server-{{RELEASE_VERSION}}-aarch64-pc-windows-msvc.zip](https://github.com/static-web-server/static-web-server/releases/download/{{RELEASE_VERSION}}/static-web-server-{{RELEASE_VERSION}}-aarch64-pc-windows-msvc.zip)<br>
|
||||
<small>**SHA256SUM:** `{{aarch64-pc-windows-msvc.zip}}`</small>
|
||||
|
||||
### x86
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ Currently, only the following platforms/architectures are supported.
|
||||
- `x86_64-pc-windows-gnu`
|
||||
|
||||
#### ARM64
|
||||
- ~~`aarch64-pc-windows-msvc`~~ (temporarily disabled until [briansmith/ring#1167](https://github.com/briansmith/ring/issues/1167))
|
||||
- `aarch64-pc-windows-msvc`
|
||||
|
||||
## FreeBSD
|
||||
|
||||
|
||||
Reference in New Issue
Block a user