summaryrefslogtreecommitdiff
path: root/.github/workflows/freebsd.yml
blob: 38eb93e2270882446fbec5f6b5e18b47d56bf34c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: FreeBSD

on:
  pull_request:
  push:
  release:
    types: [published]

jobs:
  build:

    runs-on: macos-10.15

    concurrency:
        group: ${{ github.head_ref }}-FreeBSD
        cancel-in-progress: true
    steps:
      - uses: actions/checkout@v2
        with:
          submodules: true

      - name: Tests
        uses: vmactions/[email protected]
        with:
          usesh: true
          mem: 4096
          prepare: pkg install -y curl unzip gmake llvm gsed bash perl5
          run: |
            gmake -j4
            gmake install
            export XMAKE_ROOT=y
            xrepo --version
            xmake lua -v -D tests/run.lua