File tree Expand file tree Collapse file tree 1 file changed +10
-20
lines changed Expand file tree Collapse file tree 1 file changed +10
-20
lines changed Original file line number Diff line number Diff line change 13
13
type : string
14
14
15
15
jobs :
16
- ubuntu-gcc-x86 :
17
- runs-on : ubuntu-20 .04
18
- name : " Linux Ubuntu, arch x86 "
16
+ ubuntu-gcc-x86_64 :
17
+ runs-on : ubuntu-22 .04
18
+ name : " Linux Ubuntu, arch x86_64 "
19
19
container :
20
- image : ubuntu:20 .04
20
+ image : ubuntu:22 .04
21
21
env :
22
22
DEBIAN_FRONTEND : noninteractive
23
23
TZ : Etc/UTC
@@ -49,18 +49,13 @@ jobs:
49
49
50
50
- name : Install dependencies
51
51
run : |
52
- # add i386 dependencies
53
- dpkg --add-architecture i386
54
-
55
52
apt update
56
- apt install -y \
57
- gcc-multilib g++-multilib lib32z1
58
53
59
54
apt install -y \
60
- libc6-dev:i386 gettext:i386 \
61
- libiberty-dev:i386 \
62
- binutils-dev:i386 \
63
- libzstd-dev:i386
55
+ libc6-dev gettext \
56
+ libiberty-dev \
57
+ binutils-dev \
58
+ libzstd-dev
64
59
65
60
apt install -y \
66
61
build-essential autoconf libtool make
70
65
71
66
- name : Configure
72
67
id : configure-app
73
- env :
74
- CFLAGS : " -m32"
75
- CXXFLAGS : " -m32"
76
- LDFLAGS : " -m32"
77
- PKG_CONFIG_PATH : " /usr/lib/i386-linux-gnu/pkgconfig"
78
68
run : |
79
69
mkdir -p release; cd release
80
70
../configure
83
73
if : failure() && steps.configure-app.outcome != 'success'
84
74
uses : actions/upload-artifact@v3
85
75
with :
86
- name : configure-ubuntu-x86 -logs
76
+ name : configure-ubuntu-x86_64 -logs
87
77
path : release/config.log
88
78
retention-days : 10
89
79
98
88
# Get version marking from C header
99
89
PKG_VERSION=$(sed -n 's/^#define[ ]\+PACKAGE_VERSION "\([^"]\+\)"$/\1/p' src/config.h | head -n 1 | tr '.' '_')
100
90
make V=1 DESTDIR=$PWD/pkg install
101
- echo "PKG_NAME=le_disasm-$PKG_VERSION-ubuntu-x86 " >> $GITHUB_ENV
91
+ echo "PKG_NAME=le_disasm-$PKG_VERSION-ubuntu-x86_64 " >> $GITHUB_ENV
102
92
103
93
- name : Upload artifacts
104
94
uses : actions/upload-artifact@v3
You can’t perform that action at this time.
0 commit comments