pull/2692/head
ruki 1 year ago
parent a0fa1eda03
commit 0055b934cb
  1. 37
      .github/workflows/monkey_freebsd.yml
  2. 25
      .github/workflows/monkey_macos.yml
  3. 34
      .github/workflows/monkey_windows.yml
  4. 32
      .github/workflows/sync_packagerefs.yml

@ -1,37 +0,0 @@
name: Monkey (FreeBSD)
on:
schedule: # execute every 24 hours
- cron: "0 */24 * * *"
jobs:
build:
strategy:
matrix:
os: [macOS-12]
kind: [static, shared]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Tests
uses: vmactions/freebsd-vm@v0
with:
usesh: true
mem: 4096
copyback: false
prepare: pkg install -y git curl unzip gmake llvm gsed bash perl5
run: |
git clone --recurse-submodules https://github.com/xmake-io/xmake.git /tmp/xmake -b dev
cd /tmp/xmake
./configure
gmake -j4
gmake install
export XMAKE_ROOT=y
git clone https://github.com/xmake-io/xmake-repo.git /tmp/xmake-repo -b dev --depth 2
cd /tmp/xmake-repo
xmake l ./scripts/monkey.lua -D -k ${{ matrix.kind }}

@ -1,25 +0,0 @@
name: Monkey (macOS)
on:
schedule: # execute every 24 hours
- cron: "0 */24 * * *"
jobs:
build:
strategy:
matrix:
os: [macOS-latest]
kind: [static, shared]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: branch@master
- name: Tests
run: |
xmake l ./scripts/monkey.lua -D -k ${{ matrix.kind }}

@ -1,34 +0,0 @@
name: Monkey (Windows)
on:
schedule: # execute every 24 hours
- cron: "0 */24 * * *"
jobs:
build:
strategy:
matrix:
os: [windows-latest]
kind: [static, shared]
arch: [x64, x86, arm64]
vs_runtime: [MT, MD]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: branch@master
- name: Configure Pagefile
uses: al-cheb/configure-pagefile-action@v1.2
with:
minimum-size: 8GB
maximum-size: 32GB
disk-root: "D:"
- name: Tests
run: |
xmake l ./scripts/monkey.lua -D -a ${{ matrix.arch }} -k ${{ matrix.kind }} --vs_runtime=${{ matrix.vs_runtime }} --vs_sdkver=10.0.19041.0

@ -0,0 +1,32 @@
name: Sync Packagerefs
on:
schedule: # execute every 24 hours
- cron: "0 */24 * * *"
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: latest
actions-cache-folder: '.xmake-cache'
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
name: id_rsa # optional
known_hosts: ${{ secrets.KNOWN_HOSTS }}
- name: Build artifacts for packagerefs
run: |
xmake l scripts/build_artifacts.lua true
Loading…
Cancel
Save