-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
79 lines (76 loc) · 2.05 KB
/
Copy paths390x_linux_ci.yml
File metadata and controls
79 lines (76 loc) · 2.05 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
name: s390 CI
on:
workflow_dispatch:
push:
branches:
- master
paths-ignore:
- 'vlib/v3/**'
- '**.md'
- '**.yml'
- '!**/s390x_linux_ci.yml'
- 'cmd/tools/**'
- '!cmd/tools/builders/**.v'
pull_request:
paths:
- 'cmd/v/**'
- 'cmd/tools/builders/**.v'
- 'vlib/arrays/**'
- 'vlib/builtin/**'
- 'vlib/encoding/binary/**'
- 'vlib/os/**'
- 'vlib/time/**'
- 'vlib/runtime/**'
- 'vlib/term/**'
- 'vlib/net/**'
- 'vlib/crypto/rand/**'
- 'vlib/picoev/**'
- 'vlib/rand/**'
- 'vlib/strconv/**'
- 'vlib/strings/**'
- 'vlib/sync/**'
- 'vlib/v/**'
- 'thirdparty/**'
- 'vc/**'
- 'v.mod'
- 'GNUmakefile'
- 'Makefile'
- '.github/problem-matchers/**'
- '!**.md'
- '!**.yml'
- '.github/workflows/s390x_linux_ci.yml'
concurrency:
group: s390x-${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
cancel-in-progress: true
jobs:
s390x_linux:
# The host should always be Linux
runs-on: ubuntu-22.04
timeout-minutes: 45
name: Build on ubuntu-22.04 s390x
steps:
- uses: actions/checkout@v7
- uses: uraimo/run-on-arch-action@v3
name: Run commands
id: runcmd
with:
arch: s390x
distro: ubuntu22.04
base_image: --platform=linux/s390x s390x/ubuntu:22.04
# The token tag here is not required, but speeds up builds,
# by allowing caching of the installed dependencies, which is ~2.5min:
githubToken: ${{ github.token }}
shell: /bin/bash
install: |
apt-get update -q -y
apt-get install -q -y make gcc git file coreutils binutils
run: |
uname -a
make --version
gcc --version
ls -la
make
file ./v
ls -la ./v
./v test vlib/builtin vlib/os vlib/encoding/binary
./v test vlib/v/tests/fns/closure_test.v