File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build on Windows ARM64
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - ' main'
7
+ - ' bb-*'
8
+ - ' [0-9]+.[0-9]+'
9
+ - ' *wlad*'
10
+ pull_request :
11
+
12
+ jobs :
13
+ build :
14
+ concurrency :
15
+ group : ${{ github.workflow }}-${{ github.ref }}
16
+ cancel-in-progress : true
17
+
18
+ runs-on : windows-11-arm
19
+
20
+ steps :
21
+ - name : Configure git
22
+ run : |
23
+ # We won't be able to successfully run mtr
24
+ # unless we configure autocrlf.
25
+ git config --global core.autocrlf input
26
+
27
+ - uses : actions/checkout@v4
28
+
29
+ - name : Install prerequisites
30
+ run : |
31
+ # Install bison to compile
32
+ choco install winflexbison3
33
+
34
+ - name : Build
35
+ run : |
36
+ # speedup checkout by excluding uninteresting modules
37
+ git config submodule.storage/columnstore/columnstore.update none
38
+ git config submodule.storage/maria/libmarias3.update none
39
+ git config submodule.storage/rocksdb/rocksdb.update none
40
+ git config submodule.wsrep-lib.update none
41
+ mkdir bld
42
+ cd bld
43
+ cmake .. -DWITH_SSL=bundled
44
+ cmake --build . --config RelWithDebinfo --verbose -- -m
45
+
46
+ - name : Test MTR
47
+ run : |
48
+ $env:PATH = "C:\Strawberry\perl\bin;$env:PATH;C:\Program Files (x86)\Windows Kits\10\Debuggers\arm64"
49
+ #Calculate parallel as 4 * number of processors
50
+ $parallel = 4 * [int]$env:NUMBER_OF_PROCESSORS
51
+ perl bld\mysql-test\mysql-test-run.pl --force --parallel=$parallel --suite=main --mysqld=--loose-innodb-flush-log-at-trx-commit=2
You can’t perform that action at this time.
0 commit comments