-
Notifications
You must be signed in to change notification settings - Fork 22
49 lines (47 loc) · 1.37 KB
/
linux-other.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
38
39
40
41
42
43
44
45
46
47
48
49
name: Test Linux platforms
on:
workflow_dispatch:
inputs:
platforms:
description: 'Platforms'
default: '["opensuse/leap:15", "opensuse/tumbleweed:latest",
"archlinux:latest"]' # "alpine:3"
jobs:
linux-matrix:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l -eo pipefail {0}
strategy:
matrix:
os: ${{ fromJson(inputs.platforms) }}
fail-fast: false
container:
image: ${{ matrix.os }}
options: --cpus 2
steps:
- uses: actions/checkout@v3
with:
submodules: false
# - run: |
# git config --global --add safe.directory '*'
# # git submodule update --init --recursive
- name: Python
run: |
./bin/getpy3
- name: Installations
run: |
./bin/getgcc --modern
- name: Summary
run: |
echo "/etc/os-release:"; cat /etc/os-release
echo "uname -a: $(uname -a)"
echo "bash: $BASH_VERSION"
echo "System Python: $(/usr/bin/python3 --version)"
echo "Python: $(python3 --version)"
echo "pip list:"; python3 -m pip list -v
echo "System gcc: $(/usr/bin/gcc --version | head -1)"
echo "gcc: $(gcc --version | head -1)"
echo "glibc: $(./bin/glibcver)"
echo "libstdc++: $(./bin/libstdc++ver)"
echo "binutils: $(ld --version | head -1)"