package An official xmake package repository https://xrepo.xmake.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.0 KiB

name: FreeBSD
on:
pull_request:
4 years ago
branches:
- dev
jobs:
build:
strategy:
matrix:
2 years ago
os: [macOS-12]
kind: [static, shared]
runs-on: ${{ matrix.os }}
3 years ago
concurrency:
group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-FreeBSD-${{ matrix.kind }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v1
- name: Tests
2 years ago
uses: vmactions/freebsd-vm@v0
with:
usesh: true
2 years ago
sync: sshfs
mem: 4096
copyback: false
4 years ago
prepare: pkg install -y git curl unzip gmake llvm gsed bash perl5 openssl
run: |
git clone --recurse-submodules https://github.com/xmake-io/xmake.git /tmp/xmake -b dev
cd /tmp/xmake
gmake -j4
gmake install
export XMAKE_ROOT=y
cd -
3 years ago
git config --global --add safe.directory /Users/runner/work/xmake-repo/xmake-repo
xmake l ./scripts/test.lua -D -k ${{ matrix.kind }}