mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
51 lines
1.4 KiB
YAML
51 lines
1.4 KiB
YAML
name: s390 CI
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
paths-ignore:
|
|
- '**.md'
|
|
- '**.yml'
|
|
- '!**/s390x_linux_ci.yml'
|
|
- 'cmd/tools/**'
|
|
- '!cmd/tools/builders/**.v'
|
|
pull_request:
|
|
paths-ignore:
|
|
- '**.md'
|
|
- '**.yml'
|
|
- '!**/s390x_linux_ci.yml'
|
|
- 'cmd/tools/**'
|
|
- '!cmd/tools/builders/**.v'
|
|
|
|
jobs:
|
|
s390x_linux:
|
|
# The host should always be Linux
|
|
runs-on: ubuntu-22.04
|
|
timeout-minutes: 30
|
|
name: Build on ubuntu-22.04 s390x
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- 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
|