Skip to content

Add the Kong output dir to the include dirs #133

Add the Kong output dir to the include dirs

Add the Kong output dir to the include dirs #133

Workflow file for this run

name: FreeBSD
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: macos-12
name: FreeBSD build
steps:
- uses: actions/checkout@v2
- name: Compile in FreeBSD VM
env:
ROBBOT_PASS: ${{ secrets.ROBBOT_PASS }}
id: build
uses: vmactions/freebsd-vm@v0
with:
release: 13.1
envs: 'ROBBOT_PASS GITHUB_SHA'
usesh: false
sync: rsync
copyback: false
mem: 10240
prepare: pkg install -y gmake bash python3 git
run: |
bash -c 'export CC=$(which clang) && export CXX=$(which clang++) && ./configure --openssl-no-asm --without-intl && make -j3'
# Get KincTools_freebsd_x64
git clone https://github.com/Kode/KincTools_freebsd_x64.git
# Copy binary
cp out/Release/node KincTools_freebsd_x64/kmake
# Git config
git config --global user.name "Robbot"
git config --global user.email "[email protected]"
# Commit binary
git -C KincTools_freebsd_x64 add . && set _commit=0 || set _commit=1
git -C KincTools_freebsd_x64 commit -a -m "Update kmake binary to $GITHUB_SHA." && set _commit=0 || set _commit=1
# Tag binary
if ( $_commit == 0 ) git -C KincTools_freebsd_x64 tag kmake_$GITHUB_SHA
# Push binary
git -C KincTools_freebsd_x64 push https://Kode-Robbot:[email protected]/Kode/KincTools_freebsd_x64.git main --tags && set _push1=0 || set _push1=1
# Pull
if ( $_commit == 0 && $_push1 == 1 ) git -C KincTools_freebsd_x64 pull --no-rebase
# Push again
if ( $_commit == 0 && $_push1 == 1 ) git -C KincTools_freebsd_x64 push https://Kode-Robbot:[email protected]/Kode/KincTools_freebsd_x64.git main --tags || true