summaryrefslogtreecommitdiff
path: root/.github/workflows/openbsd.yml
blob: 7d757cb685910eae0842c35ede38410d30c08ca6 (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
36
37
38
name: OpenBSD

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

jobs:
  build:

    runs-on: macos-12

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

      - name: Tests
        uses: vmactions/openbsd-vm@v0
        with:
          usesh: true
          mem: 4096
          copyback: false
          prepare: pkg_add curl unzip gmake llvm gsed bash perl5
          run: |
            ./configure
            gmake -j4
            gmake install
            export XMAKE_ROOT=y
            xrepo --version
            xmake l os.meminfo
            xmake lua -v -D tests/run.lua