From 410b9781595f7e17e7e8d02672bb0fd42636404e Mon Sep 17 00:00:00 2001 From: Dmitriy Musatkin Date: Fri, 27 Oct 2023 10:02:09 -0700 Subject: [PATCH] add freebsd ci --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0fcf4b134..d7d785816 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -209,6 +209,26 @@ jobs: chmod a+x builder ./builder build -p ${{ env.PACKAGE_NAME }} + freebsd: + runs-on: macos-12 + steps: + - uses: actions/checkout@v3 + with: + submodules: true + - name: Build ${{ env.PACKAGE_NAME }} + consumers + uses: vmactions/freebsd-vm@v0 + with: + envs: 'AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_DEFAULT_REGION AWS_REGION' + usesh: true + sync: rsync + copyback: false + prepare: | + pkg install -y python3 py39-urllib3 py39-pip cmake + run: | + python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz', 'builder')" + chmod a+x builder + ./builder build -p ${{ env.PACKAGE_NAME }} + cross_compile: name: Cross Compile ${{matrix.arch}} runs-on: ubuntu-20.04 # latest