diff options
| author | ruki <[email protected]> | 2025-11-22 23:49:58 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-11-22 23:49:58 +0800 |
| commit | 6b615cab4b49ac08420a4bdfb411ff4308646b15 (patch) | |
| tree | f83f0abbcb73973dccc7f357785250e5ce7c430b /.github/workflows | |
| parent | 4a3e993297b57f6c725690b26a81ecf5ad9c087e (diff) | |
add solaris platform
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/solaris.yml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/.github/workflows/solaris.yml b/.github/workflows/solaris.yml new file mode 100644 index 000000000..fa500ad89 --- /dev/null +++ b/.github/workflows/solaris.yml @@ -0,0 +1,37 @@ +name: Solaris + +on: + pull_request: + push: + release: + types: [published] + +jobs: + build: + + runs-on: ubuntu-latest + + concurrency: + group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-Solaris + cancel-in-progress: true + steps: + - uses: actions/checkout@v2 + with: + submodules: true + + - name: Tests + uses: vmactions/solaris-vm@v1 + with: + usesh: true + prepare: | + pkgutil -y -i socat git gmake bash gcc4g++ || pkgutil -y -i socat git gmake bash gcc5g++ || pkg install -y developer/gcc || true + run: | + cd $GITHUB_WORKSPACE + bash ./configure + gmake -j4 + gmake install + export XMAKE_ROOT=y + xrepo --version + xmake l os.meminfo + xmake lua -v -D tests/run.lua + |
