diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2021-03-27 01:07:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-27 01:07:55 +0000 |
commit | 1247cc380f16a8382e6fed2019bd07eeceb8ce7e (patch) | |
tree | 32417ff14b9dab91783aded329a587ee538ef3fc | |
parent | Add CHANGELOG entry for PR 480 (diff) | |
parent | Re-add publish instructions (diff) | |
download | miniserve-1247cc380f16a8382e6fed2019bd07eeceb8ce7e.tar.gz miniserve-1247cc380f16a8382e6fed2019bd07eeceb8ce7e.zip |
Merge pull request #483 from svenstaro/try-freebsd-support
Try to add FreeBSD support
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/publish.yml | 8 | ||||
-rw-r--r-- | Cross.toml | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 05f1730..53480cd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,6 +23,7 @@ jobs: - riscv64gc-unknown-linux-gnu - x86_64-pc-windows-msvc - x86_64-apple-darwin + - x86_64-unknown-freebsd include: - os: ubuntu-latest target: x86_64-unknown-linux-musl @@ -101,6 +102,13 @@ jobs: cross: false strip: true compress: true + - os: ubuntu-latest + target: x86_64-unknown-freebsd + artifact_name: target/x86_64-unknown-freebsd/release/miniserve + release_name: x86_64-unknown-freebsd + cross: true + strip: false + compress: false steps: - name: Checkout code diff --git a/Cross.toml b/Cross.toml new file mode 100644 index 0000000..a7a84ad --- /dev/null +++ b/Cross.toml @@ -0,0 +1,3 @@ +# NOTE: Custom image specification for freebsd is required until new version of cross is released. +[target.x86_64-unknown-freebsd] +image = "rustembedded/cross:x86_64-unknown-freebsd" |