Update build-freebsd-package.yml #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build FreeBSD Package | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Build FreeBSD package | |
run: | | |
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace racket/pkg-build:latest \ | |
/bin/sh -c " | |
env ASSUME_ALWAYS_YES=YES pkg bootstrap | |
pkg update -f | |
pkg install -y git python3 py37-pip | |
git clone https://github.com/huashengdun/webssh.git | |
cd webssh | |
pip install -r requirements.txt | |
python setup.py bdist | |
" |