-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is overtls considering supporting freebsd? #74
Comments
please write a CI script reference this sample, and add publish actions for it. name: TestFreeBSD
on:
[push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
toolchain: ["stable"] # ["nightly", "beta", "stable"] #
steps:
- uses: actions/checkout@v4
- name: Test in FreeBSD
id: test
uses: vmactions/freebsd-vm@v1
with:
usesh: true
sync: rsync
copyback: false
prepare: |
pkg install -y curl pkgconf glib
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf > install.sh
chmod +x install.sh
./install.sh -y --default-toolchain ${{ matrix.toolchain }}
run: |
. "$HOME/.cargo/env"
set -ex
# Add feature "nightly" if toolchain is nightly
if [ "${{ matrix.toolchain }}" = "nightly" ]; then
ARGS="$ARGS --features nightly"
fi
RUST_BACKTRACE=1 cargo +${{ matrix.toolchain }} fmt --all -- --check
RUST_BACKTRACE=1 cargo +${{ matrix.toolchain }} clippy --all-features -- -D warnings
RUST_BACKTRACE=1 cargo +${{ matrix.toolchain }} build --all-features |
Can you add a freebsd release package when publishing?
Message ID: ***@***.***>
|
You can help write it. rustup target list | grep freebsd
i686-unknown-freebsd
x86_64-unknown-freebsd |
I don't know the rust language, can you add a program to output the freebsd release version in github action. Thank you so much |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a serv00 host, but it is a freebsd system. I use the linux package to report an error and request compilation to support freebsd running on serv00.
The text was updated successfully, but these errors were encountered: