-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (34 loc) · 1.01 KB
/
uwvm.yml
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
name: uwvm-build
on:
pull_request:
branches: ["master", "dev"]
push:
branches: ["master", "dev"]
jobs:
build:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-Linux
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
- uses: xmake-io/github-action-setup-xmake@v1
- name: Build-Default-x86_64-linux-gnu
run: |
xmake clean
xmake f --clean
xmake f -p linux -a x86_64 -m debug --static=n
xmake -v
- name: Test-Default-x86_64-linux-gnu
run: |
xmake run uwvm --version
xmake install -o `pwd`/uwvm-install/
- name: Build-UWVM-TEST-x86_64-linux-gnu
run: |
xmake clean
xmake f --clean
xmake f -p linux -a x86_64 -m debug --static=n --uwvm-test=y --policies=build.sanitizer.address
xmake -v
- name: Test-UWVM-TEST-x86_64-linux-gnu
run: |
xmake run uwvm